On Tue, Jun 04, 2002 at 04:57:58PM -0400, Raymond Hettinger wrote: > Being immutable, xrange had the advantage that it could serve as its own > iterator and did not require the extra code needed for list iterators and > dict iterators. In its current form, xrange is no longer immutable. It has state information and calling the next() method of an xrange object modifies it. I guess the difference between us is that you are concerned with what works while I am irrationally obsessed with semantics :-) Oren
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