cpython: 0f7795edca65 (original) (raw)

Mercurial > cpython

changeset 95950:0f7795edca65 2.7

Issue #24161: Document that PyIter_Check() returns false positives for old-style instances. [#24161]

Raymond Hettinger python@rcn.com
date Mon, 11 May 2015 10:22:20 -0700
parents 5c29bbcad278
children 0e8a17f437b5
files Doc/c-api/iter.rst
diffstat 1 files changed, 4 insertions(+), 0 deletions(-)[+] [-] Doc/c-api/iter.rst 4

line wrap: on

line diff

--- a/Doc/c-api/iter.rst +++ b/Doc/c-api/iter.rst @@ -14,6 +14,10 @@ There are two functions specifically for Return true if the object o supports the iterator protocol.

.. c:function:: PyObject* PyIter_Next(PyObject *o)