8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3e4852 commit e1a2091Copy full SHA for e1a2091
Doc/c-api/object.rst
@@ -393,6 +393,13 @@ Object Protocol
393
on failure. This is equivalent to the Python statement ``del o[key]``.
394
395
396
+.. c:function:: int PyObject_DelItemString(PyObject *o, const char *key)
397
+
398
+ This is the same as :c:func:`PyObject_DelItem`, but *key* is
399
+ specified as a :c:expr:`const char*` UTF-8 encoded bytes string,
400
+ rather than a :c:expr:`PyObject*`.
401
402
403
.. c:function:: PyObject* PyObject_Dir(PyObject *o)
404
405
This is equivalent to the Python expression ``dir(o)``, returning a (possibly
0 commit comments