mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #16148: Small improvements and cleanup. Added version information
to docs.
This commit is contained in:
parent
96e936712f
commit
74b38b190f
6 changed files with 24 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue