None, True, False are keywords now.

This commit is contained in:
Guido van Rossum 2007-05-30 03:40:29 +00:00
parent cc1a2f946a
commit 3c3f1b7547
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ Core language
* Replace ``print`` by a function [14]_ [#pep3105]_ [done] * Replace ``print`` by a function [14]_ [#pep3105]_ [done]
* The ``softspace`` attribute of files goes away. [done] * The ``softspace`` attribute of files goes away. [done]
* Use ``except E1, E2, E3 as err:`` if you want the error variable. [3]_ * Use ``except E1, E2, E3 as err:`` if you want the error variable. [3]_
* ``None`` becomes a keyword [4]_ (What about ``True``, ``False``?) * ``None`` becomes a keyword [4]_ [done; also ``True`` and ``False``]
* ``...`` to become a general expression element [16]_ [done] * ``...`` to become a general expression element [16]_ [done]
* ``as`` becomes a keyword [5]_ (starting in 2.6 already) [done] * ``as`` becomes a keyword [5]_ (starting in 2.6 already) [done]
* Have list comprehensions be syntactic sugar for passing an * Have list comprehensions be syntactic sugar for passing an