extending python: which python code calls the c iterator methods?

Fredrik Lundh fredrik at pythonware.com
Wed Jan 18 13:22:20 CET 2006


Johannes Zellner wrote:

> when extending python there are type methods tp_iter and tp_iternext.
> Which python code calls the c iterator methods?

iter(obj), for-in obj, etc.

</F> 






More information about the Python-list mailing list