diff options
author | Guido van Rossum <guido@python.org> | 1996-01-26 18:59:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-01-26 18:59:07 (GMT) |
commit | faa436c70bfd3279c2b2391f7f2a3069984dd48a (patch) | |
tree | c1023a9863eb28bb08d92f6cd89de9ad6944b3cd | |
parent | efa3143abdd4fee35415f06edccaa373dc9fb60e (diff) | |
download | cpython-faa436c70bfd3279c2b2391f7f2a3069984dd48a.zip cpython-faa436c70bfd3279c2b2391f7f2a3069984dd48a.tar.gz cpython-faa436c70bfd3279c2b2391f7f2a3069984dd48a.tar.bz2 |
use only j for imaginary constants
-rw-r--r-- | Parser/tokenizer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index ecc32d1..942072d 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -573,7 +573,7 @@ tok_get(tok, p_start, p_end) if (c == '.') goto fraction; #ifndef WITHOUT_COMPLEX - if (c == 'i' || c == 'I' || c == 'j' || c == 'J') + if (c == 'j' || c == 'J') goto imaginary; #endif if (c == 'x' || c == 'X') { @@ -622,7 +622,7 @@ tok_get(tok, p_start, p_end) } } #ifndef WITHOUT_COMPLEX - if (c == 'i' || c == 'I' || c == 'j' || c == 'J') + if (c == 'j' || c == 'J') /* Imaginary part */ imaginary: c = tok_nextc(tok); |