1use crate::ffi;
2use crate::PyAny;
3
4/// Represents a Python code object.
5#[repr(transparent)]
6pub struct PyCode(PyAny);
7
8pyobject_native_type_core!(
9 PyCode,
10 pyobject_native_static_type_object!(ffi::PyCode_Type),
11 #checkfunction=ffi::PyCode_Check
12);
13