diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-03-25 05:43:23 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-03-25 05:43:23 (GMT) |
commit | 7285d520e00e110af2f150487fc0ccfaa8430684 (patch) | |
tree | 2cdcc9a146895da549db2478f3e6792ae68e5024 /Parser/tokenizer.c | |
parent | 4a2e663f9941799eeeda5a0eff320665ae1d8e8b (diff) | |
download | cpython-7285d520e00e110af2f150487fc0ccfaa8430684.zip cpython-7285d520e00e110af2f150487fc0ccfaa8430684.tar.gz cpython-7285d520e00e110af2f150487fc0ccfaa8430684.tar.bz2 |
remove duplicated check for fractions and complex numbers (closes #26076)
Patch by Oren Milman.
Diffstat (limited to 'Parser/tokenizer.c')
-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 c653121..006ad9c 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 */ |