[Python-ideas] change NoneType, NotImplementedType, & ellipses to return the appropriate singleton
dag.odenhall at gmail.com
dag.odenhall at gmail.com
Sun Aug 7 01:34:07 CEST 2011
On 29 July 2011 19:03, Guido van Rossum <guido at python.org> wrote:
> I think it is fine if type(None)() returns None instead of raising an exception.
+1, I've often wanted it and felt (lambda: None) was somewhat clunky.
More information about the Python-ideas
mailing list