A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-March/002641.html below:

[Python-Dev] Should None be a keyword?

[Python-Dev] Should None be a keyword? [Python-Dev] Should None be a keyword?Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Fri, 17 Mar 2000 22:12:15 +0100
Barry A. Warsaw wrote:
> >>>>> "KY" =3D=3D Ka-Ping Yee <ping@lfw.org> writes:
>=20
>     KY> Related to my last message: should None become a keyword in
>     KY> Py3K?
>=20
> Why?  Just to reserve it?

to avoid stuff errors like:

    def foo():

        result =3D None

        # two screenfuls of code

        None, a, b =3D mytuple # perlish unpacking

which gives an interesting error on the first line, instead
of a syntax error on the last.

</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