diff options
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 682c2f2..226e5e8 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -445,6 +445,14 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ statement: o[key]=v. */ + DL_IMPORT(int) PyObject_DelItemString(PyObject *o, char *key); + + /* + Remove the mapping for object, key, from the object *o. + Returns -1 on failure. This is equivalent to + the Python statement: del o[key]. + */ + DL_IMPORT(int) PyObject_DelItem(PyObject *o, PyObject *key); /* |