]> granicus.if.org Git - python/commit
I_getiter(): Function for the tp_iter slot of Itype so that
authorBarry Warsaw <barry@python.org>
Sat, 22 Sep 2001 04:36:49 +0000 (04:36 +0000)
committerBarry Warsaw <barry@python.org>
Sat, 22 Sep 2001 04:36:49 +0000 (04:36 +0000)
commit3e8be722d9dba6c118443b46d508f394612e5f7d
tree75128d252ed363dfacd94c9cd1ba29bcd281c1d6
parentbdefa0b3dec131cdd11bdb4ba9338fc94f53aa7f
I_getiter(): Function for the tp_iter slot of Itype so that
cStringIO's can participate in the iterator protocol.

Fill the Itype.tp_iter slot with I_getiter()
Modules/cStringIO.c