mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 67171 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r67171 | benjamin.peterson | 2008-11-08 12:38:54 -0600 (Sat, 08 Nov 2008) | 4 lines check for assignment to __debug__ during AST generation Also, give assignment to None a better error message ........
This commit is contained in:
parent
06fd5f8cc8
commit
bde1676b06
2 changed files with 1 additions and 6 deletions
|
@ -354,6 +354,7 @@ static const char* FORBIDDEN[] = {
|
|||
"None",
|
||||
"True",
|
||||
"False",
|
||||
"__debug__",
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue