>>>>> "GvR" == Guido van Rossum <guido@python.org> writes: >> Would it be useful to add to the interator "interface" a method >> which would retrieve the original iterable object? I've no >> idea what that method should be called, but it seems like it >> would be trivial to add since most (all?) iterators have a >> pointer to their underlying object anyway, don't they? GvR> No. The (important!) class of generator-iterators does not GvR> have an underlying container object. Yup, but in that case I think it would be fine if it.gimme_the_underlying_iteratable_object() returned None. It still may be useless. ;) -Barry
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