Kaydet (Commit) 15ad9a6e authored tarafından Guido van Rossum's avatar Guido van Rossum

only use 'j' for imaginary constants

üst c96ef6ab
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment