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

Function PyObject_DelAttr

python3-sys/src/objectabstract.rs:13–15  ·  view source on GitHub ↗
(o: *mut PyObject, attr_name: *mut PyObject)

Source from the content-addressed store, hash-verified

11
12#[inline]
13pub unsafe fn PyObject_DelAttr(o: *mut PyObject, attr_name: *mut PyObject) -> c_int {
14 PyObject_SetAttr(o, attr_name, ptr::null_mut())
15}
16
17#[cfg_attr(windows, link(name = "pythonXY"))]
18extern "C" {

Callers 1

delattrMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected