mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
This commit is contained in:
parent
4af4d273bd
commit
9594942716
40 changed files with 137 additions and 150 deletions
|
@ -198,7 +198,7 @@ if 1:
|
|||
else:
|
||||
self.fail("How many bits *does* this machine have???")
|
||||
# Verify treatment of constant folding on -(sys.maxsize+1)
|
||||
# i.e. -2147483648 on 32 bit platforms. Should return int, not long.
|
||||
# i.e. -2147483648 on 32 bit platforms. Should return int.
|
||||
self.assertIsInstance(eval("%s" % (-sys.maxsize - 1)), int)
|
||||
self.assertIsInstance(eval("%s" % (-sys.maxsize - 2)), int)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue