summaryrefslogtreecommitdiffstats
path: root/Python/Python-tokenize.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/Python-tokenize.c')
-rw-r--r--Python/Python-tokenize.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/Python-tokenize.c b/Python/Python-tokenize.c
index 1938562..1b02106 100644
--- a/Python/Python-tokenize.c
+++ b/Python/Python-tokenize.c
@@ -237,9 +237,6 @@ tokenizeriter_next(tokenizeriterobject *it)
if (type > DEDENT && type < OP) {
type = OP;
}
- else if (type == ASYNC || type == AWAIT) {
- type = NAME;
- }
else if (type == NEWLINE) {
Py_DECREF(str);
if (!it->tok->implicit_newline) {