diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-20 20:45:53 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-20 20:45:53 (GMT) |
commit | 9ffc0205a62972fa8faaf2d4577d3a3efaeb80d9 (patch) | |
tree | 15f9a3c2658cdbe9a1e36101b379a7c6d4620be4 /Objects | |
parent | 8dd05147d6224f4982ef6b14d904bb600ef33ea3 (diff) | |
download | cpython-9ffc0205a62972fa8faaf2d4577d3a3efaeb80d9.zip cpython-9ffc0205a62972fa8faaf2d4577d3a3efaeb80d9.tar.gz cpython-9ffc0205a62972fa8faaf2d4577d3a3efaeb80d9.tar.bz2 |
Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index b7ba796..46efe5f 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -1990,8 +1990,6 @@ digit beyond the first. goto onError; if (sign < 0) Py_SIZE(z) = -(Py_SIZE(z)); - if (*str == 'L' || *str == 'l') - str++; while (*str && isspace(Py_CHARMASK(*str))) str++; if (*str != '\0') |