]> granicus.if.org Git - python/commitdiff
tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901
authorBenjamin Peterson <benjamin@python.org>
Sat, 10 Jan 2009 17:36:44 +0000 (17:36 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 10 Jan 2009 17:36:44 +0000 (17:36 +0000)
Doc/c-api/typeobj.rst

index 463223a47847c9ef154f1406e9a84bb4ec50c24b..24f508e8b3a2e66569cd1632c5f4ecad081c6899 100644 (file)
@@ -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.