A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-July/026680.html below:

[Python-Dev] Single- vs. Multi-pass iterability

[Python-Dev] Single- vs. Multi-pass iterabilityGreg Ewing greg@cosc.canterbury.ac.nz
Thu, 18 Jul 2002 12:05:39 +1200 (NZST)
Guido:

> Generally speaking, iterator implementations aren't created by making
> changes to an existing class

Continuing with my scanner example, it's conceivable
that I might want to give it an iterator interface
as an alternative to the existing one -- it's already
an iterator, really, it just doesn't have the
new standard iterator interface.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4