greg wrote: > If we're going to use any sort of ellipsis syntax here, I > think it would be highly preferable to use the ellipsis > token we've already got. I can't see any justification for > having two different ellipsis-like tokens in the language, > when there would be no ambiguity in using one for both > purposes. footnote: "..." isn't really token: >>> class Spam: ... def __getitem__(self, index): ... print index ... >>> spam = Spam() >>> spam[...] Ellipsis >>> spam[. . .] Ellipsis >>> spam[. ... . ... . ... ] Ellipsis (etc) </F>
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