Constant python3_sys::Py_TPFLAGS_DISALLOW_INSTANTIATION

source ·
pub const Py_TPFLAGS_DISALLOW_INSTANTIATION: c_ulong = _; // 128u32
Expand description

Disallow creating instances of the type: set tp_new to NULL and don’t create the “new” key in the type dictionary.