From: Jack Jansen Date: Thu, 24 Jan 2002 12:36:51 +0000 (+0000) Subject: "yield" is also a keyword. Spotted by Neal Norwitz. X-Git-Tag: v2.3c1~6787 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdd6e705ae7021c23cd7610e71bdb7accab1938b;p=python "yield" is also a keyword. Spotted by Neal Norwitz. --- diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py index db440cb9a7..04cd7c9c58 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: