From 35b80e04421b566f63d6dcb90e8ffe4a0a8be597 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 10 Jan 2009 17:36:44 +0000 Subject: tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901 --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 463223a..24f508e 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. -- cgit v0.12