Commit faa436c7 authored by Guido van Rossum's avatar Guido van Rossum

use only j for imaginary constants

parent efa3143a
......@@ -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);
......
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