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

Function PyObject_DelAttrString

python27-sys/src/objectabstract.rs:8–10  ·  view source on GitHub ↗
(o: *mut PyObject, attr_name: *const c_char)

Source from the content-addressed store, hash-verified

6
7#[inline]
8pub unsafe fn PyObject_DelAttrString(o: *mut PyObject, attr_name: *const c_char) -> c_int {
9 PyObject_SetAttrString(o, attr_name, ptr::null_mut())
10}
11
12#[inline]
13pub unsafe fn PyObject_DelAttr(o: *mut PyObject, attr_name: *mut PyObject) -> c_int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected