diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-03-24 22:43:23 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-03-24 22:43:23 -0700 |
| commit | 7285d520e00e110af2f150487fc0ccfaa8430684 (patch) | |
| tree | 2cdcc9a146895da549db2478f3e6792ae68e5024 /Parser | |
| parent | 4a2e663f9941799eeeda5a0eff320665ae1d8e8b (diff) | |
| download | cpython-git-7285d520e00e110af2f150487fc0ccfaa8430684.tar.gz | |
remove duplicated check for fractions and complex numbers (closes #26076)
Patch by Oren Milman.
Diffstat (limited to 'Parser')
| -rw-r--r-- | Parser/tokenizer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index c653121706..006ad9ccc1 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1587,10 +1587,6 @@ tok_get(struct tok_state *tok, char **p_start, char **p_end) if (c == '0') { /* Hex, octal or binary -- maybe. */ c = tok_nextc(tok); - if (c == '.') - goto fraction; - if (c == 'j' || c == 'J') - goto imaginary; if (c == 'x' || c == 'X') { /* Hex */ |
