On Fri, Feb 28, 2014 at 8:29 AM, Chris Angelico <ros...@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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to