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

Function PyCode_GetNumFree

python3-sys/src/code.rs:235–237  ·  view source on GitHub ↗
(op: *mut PyCodeObject)

Source from the content-addressed store, hash-verified

233#[inline]
234#[cfg(Py_3_11)]
235pub unsafe fn PyCode_GetNumFree(op: *mut PyCodeObject) -> Py_ssize_t {
236 (*op).co_nfreevars as Py_ssize_t
237}
238
239#[inline]
240#[cfg(not(Py_3_11))]

Callers

nothing calls this directly

Calls 1

PyTuple_GET_SIZEFunction · 0.70

Tested by

no test coverage detected