On Fri, Feb 28, 2014 at 8:29 AM, Chris Angelico <rosuav at gmail.com> wrote: > @@ -43,6 +43,34 @@ > > * statistics.mean(data) - no way to handle an empty iterator > > +Had this facility existed early in Python's history, there would have been > +no need to create dict.get() and related methods; the one obvious way to > +handle an absent key would be to respond to the exception. One method is > +written which signal the absence in one way, and one consistent technique Doh! Typical... I notice the typo only after hitting send. This should be "which signals". The linked-to draft file has been updated. ChrisA
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