summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-01-24 12:36:51 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-01-24 12:36:51 (GMT)
commitbdd6e705ae7021c23cd7610e71bdb7accab1938b (patch)
treeb0e7669147cd259a1aa42aa1d561b00c24d3cfc3 /Mac
parentf9bb90e4539b4443960dc2ab217166fb4635b0bb (diff)
downloadcpython-bdd6e705ae7021c23cd7610e71bdb7accab1938b.zip
cpython-bdd6e705ae7021c23cd7610e71bdb7accab1938b.tar.gz
cpython-bdd6e705ae7021c23cd7610e71bdb7accab1938b.tar.bz2
"yield" is also a keyword. Spotted by Neal Norwitz.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/scripts/gensuitemodule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py
index db440cb..04cd7c9 100644
--- a/Mac/scripts/gensuitemodule.py
+++ b/Mac/scripts/gensuitemodule.py
@@ -820,7 +820,7 @@ def compiledataflags(flags):
illegal_ids = ["and", "elif", "global", "or", "assert", "else", "if", "pass",
"break", "except", "import", "print", "class", "exec", "in", "raise",
"continue", "finally", "is", "return", "def", "for", "lambda", "try",
- "del", "from", "not", "while"]
+ "del", "from", "not", "while", "yield"]
def identify(str):
"""Turn any string into an identifier: