1
2
3
4
5
6
7
8
9
10
11
12
use crate::ffi;
use crate::PyAny;

/// Represents a Python code object.
#[repr(transparent)]
pub struct PyCode(PyAny);

pyobject_native_type_core!(
    PyCode,
    ffi::PyCode_Type,
    #checkfunction=ffi::PyCode_Check
);