diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2012-10-07 08:29:32 (GMT) |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2012-10-07 08:29:32 (GMT) |
commit | 74b38b190faae988b4951cf46d83f853589aa530 (patch) | |
tree | 3259a32fff2a205c6d3d74d9a04c165eb5908686 /Doc/c-api | |
parent | 96e936712f2d926fb566c8680958a07fc6b84c71 (diff) | |
download | cpython-74b38b190faae988b4951cf46d83f853589aa530.zip cpython-74b38b190faae988b4951cf46d83f853589aa530.tar.gz cpython-74b38b190faae988b4951cf46d83f853589aa530.tar.bz2 |
Issue #16148: Small improvements and cleanup. Added version information
to docs.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/object.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 8458fe8..e4769b3 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -349,6 +349,8 @@ is considered sufficient for this determination. returning the default value. On error ``-1`` is returned. This is the equivalent to the Python expression ``operator.length_hint(o, default)``. + .. versionadded:: 3.4 + .. c:function:: PyObject* PyObject_GetItem(PyObject *o, PyObject *key) Return element of *o* corresponding to the object *key* or *NULL* on failure. |