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

Function PyExceptionClass_Name

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

Source from the content-addressed store, hash-verified

62#[cfg(all(not(Py_3_8), not(Py_LIMITED_API)))]
63#[inline]
64pub unsafe fn PyExceptionClass_Name(x: *mut PyObject) -> *const c_char {
65 (*(*x).ob_type).tp_name
66}
67
68#[cfg_attr(windows, link(name = "pythonXY"))]
69extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected