[New-bugs-announce] [issue4901] inconsistent API docs for tp_iter

garcia report at bugs.python.org
Fri Jan 9 19:56:17 CET 2009


New submission from garcia <ronald.garcia at rice.edu>:

Page 107 of api.pdf says that Py_TPFLAGS_HAVE_ITER is set if the type 
object has the tp_iter and tp_iternext fields, but on page 109, preceding 
the documentation of tp_iter and tp_iternext, it says "the next two fields 
only exist if the Py_TPFLAGS_HAVE_CLASS flag bit is set".

Should the latter refer to Py_TPFLAGS_HAVE_ITER?

----------
assignee: georg.brandl
components: Documentation
messages: 79487
nosy: garcia, georg.brandl
severity: normal
status: open
title: inconsistent API docs for tp_iter
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4901>
_______________________________________


More information about the New-bugs-announce mailing list