From: Benjamin Peterson Date: Fri, 25 Mar 2016 05:43:23 +0000 (-0700) Subject: remove duplicated check for fractions and complex numbers (closes #26076) X-Git-Tag: v3.6.0a1~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7285d520e00e110af2f150487fc0ccfaa8430684;p=thirdparty%2FPython%2Fcpython.git remove duplicated check for fractions and complex numbers (closes #26076) Patch by Oren Milman. --- diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index c653121706b9..006ad9ccc1b5 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 */