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/2004-July/046252.html below:

[Python-Dev] Assignment to None

[Python-Dev] Assignment to None [Python-Dev] Assignment to NoneGuido van Rossum guido at python.org
Fri Jul 16 04:37:09 CEST 2004
> >>> None = 0
> SyntaxError: assignment to None (<pyshell#0>, line 1)
> >>> def f():
>             None = 0
>             
> SyntaxError: assignment to None (<pyshell#2>, line 2)
>  
> Does this imply that the compiler can now treat None as a constant?

I'd hope so!

--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

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