A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023668.html below:

[Python-Dev] Making None a keyword

[Python-Dev] Making None a keyword [Python-Dev] Making None a keywordSkip Montanaro skip@pobox.com
Fri, 26 Apr 2002 12:39:19 -0500
    Tim> I don't see the problem here.  It's currently generated via

    Tim>     NoneType = type(None)

duh...  Sorry, my bad.

Use of the term "keyword" was causing my sleep-deprived brain to think it
couldn't be used in expressions.  Obviously, that's not the case.  All the
current keywords in the language either identify statements statements (def,
print, continue) or operators (or, and, in).  Elevating "None" to keyword
status would create a third type keyword.  Maybe it should be referred to as
a "reserved identifier" or something like that.

Skip




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