diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-30 23:03:31 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-05-01 08:48:34 +0200 |
commit | a3d9bc717c62cd505190d7e3c005ed49143dc5d4 (patch) | |
tree | b2a9231e69e617c72610f2d3017d8420ec79f51a | |
parent | dcac2aa37b69db2439f90cb3d9725889c7090c10 (diff) | |
download | cython-a3d9bc717c62cd505190d7e3c005ed49143dc5d4.tar.gz |
Remove duplicates from list of reserved words.
-rw-r--r-- | Cython/Compiler/Scanning.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/Scanning.py b/Cython/Compiler/Scanning.py index 21b456816..f61144033 100644 --- a/Cython/Compiler/Scanning.py +++ b/Cython/Compiler/Scanning.py @@ -41,8 +41,8 @@ py_reserved_words = [ "global", "nonlocal", "def", "class", "print", "del", "pass", "break", "continue", "return", "raise", "import", "exec", "try", "except", "finally", "while", "if", "elif", "else", "for", - "in", "assert", "and", "or", "not", "is", "in", "lambda", - "from", "yield", "with", "nonlocal", + "in", "assert", "and", "or", "not", "is", "lambda", + "from", "yield", "with", ] pyx_reserved_words = py_reserved_words + [ |