From: Benjamin Peterson Date: Sat, 10 Jan 2009 17:36:44 +0000 (+0000) Subject: tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901 X-Git-Tag: v2.7a1~2335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b80e04421b566f63d6dcb90e8ffe4a0a8be597;p=thirdparty%2FPython%2Fcpython.git tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901 --- diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 463223a47847..24f508e8b3a2 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -743,7 +743,7 @@ set. :attr:`__weakref__`, the type inherits its :attr:`tp_weaklistoffset` from its base type. -The next two fields only exist if the :const:`Py_TPFLAGS_HAVE_CLASS` flag bit is +The next two fields only exist if the :const:`Py_TPFLAGS_HAVE_ITER` flag bit is set.