]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add TYPE_IGNORE and TYPE_COMMENT without regenerating anything
authorGuido van Rossum <guido@python.org>
Sat, 19 Jan 2019 17:28:44 +0000 (09:28 -0800)
committerGuido van Rossum <guido@python.org>
Tue, 22 Jan 2019 16:58:20 +0000 (08:58 -0800)
Grammar/Tokens

index 9595673a5af7a4832d152628849f8ea9f8e49604..d6c6ee47745672f7ae7bfe90edd5093589d438a0 100644 (file)
@@ -54,6 +54,8 @@ RARROW                  '->'
 ELLIPSIS                '...'
 
 OP
+TYPE_IGNORE
+TYPE_COMMENT
 ERRORTOKEN
 
 # These aren't used by the C tokenizer but are needed for tokenize.py