Issue #16148: Small improvements and cleanup. Added version information

to docs.
This commit is contained in:
Armin Ronacher 2012-10-07 10:29:32 +02:00
parent 96e936712f
commit 74b38b190f
6 changed files with 24 additions and 9 deletions

View file

@ -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.