MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyExceptionInstance_Class

Function PyExceptionInstance_Class

python3-sys/src/pyerrors.rs:58–60  ·  view source on GitHub ↗
(x: *mut PyObject)

Source from the content-addressed store, hash-verified

56
57#[inline]
58pub unsafe fn PyExceptionInstance_Class(x: *mut PyObject) -> *mut PyObject {
59 (*x).ob_type as *mut PyObject
60}
61
62#[cfg(all(not(Py_3_8), not(Py_LIMITED_API)))]
63#[inline]

Callers 1

from_instance_helperMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected