summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-01-26 20:53:56 (GMT)
committerGuido van Rossum <guido@python.org>1996-01-26 20:53:56 (GMT)
commit15ad9a6e52ea092bd3b60b8f4201203d869f825c (patch)
treecef3f02eb1380a83c18ec097c16301f00b418f98 /Python
parentc96ef6ab9e6282aabd53527c0c603115319e85ed (diff)
downloadcpython-15ad9a6e52ea092bd3b60b8f4201203d869f825c.zip
cpython-15ad9a6e52ea092bd3b60b8f4201203d869f825c.tar.gz
cpython-15ad9a6e52ea092bd3b60b8f4201203d869f825c.tar.bz2
only use 'j' for imaginary constants
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 5312870..3a1d3f6 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -572,7 +572,7 @@ parsenumber(s)
errno = 0;
end = s + strlen(s) - 1;
#ifndef WITHOUT_COMPLEX
- imflag = *end == 'i' || *end == 'I' || *end == 'j' || *end == 'J';
+ imflag = *end == 'j' || *end == 'J';
#endif
if (*end == 'l' || *end == 'L')
return long_scan(s, 0);