diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-20 13:48:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-20 13:48:25 (GMT) |
commit | 43844351c3d2af87245b0e2a12047c0f224e0edb (patch) | |
tree | c8a6d23462a2ede3e16278f20502159eead14ba6 | |
parent | 006c5a22354ea73ee26163a957782115cef25f8f (diff) | |
download | cpython-43844351c3d2af87245b0e2a12047c0f224e0edb.zip cpython-43844351c3d2af87245b0e2a12047c0f224e0edb.tar.gz cpython-43844351c3d2af87245b0e2a12047c0f224e0edb.tar.bz2 |
write versionadded
-rw-r--r-- | Doc/c-api/object.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 43768f3..d895547 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -106,12 +106,16 @@ Object Protocol A generic implementation for the getter of a ``__dict__`` descriptor. It creates the dictionary if necessary. + .. versionadded:: 3.3 + .. c:function:: int PyType_GenericSetDict(PyObject *o, void *context) A generic implementation for the setter of a ``__dict__`` descriptor. This implementation does not allow the dictionary to be deleted. + .. versionadded:: 3.3 + .. c:function:: PyObject* PyObject_RichCompare(PyObject *o1, PyObject *o2, int opid) |