Commit cd326ef
committed
Use 'maxsize' instead of 'maxint' on Python 3 #295
The sys.maxint constant was removed, since there is no longer a limit to the value of integers. However, sys.maxsize can be used as an integer larger than any practical list or string index. It conforms to the implementation’s “natural” integer size and is typically the same as sys.maxint in previous releases on the same platform (assuming the same build options). Reference = http://docs.python.org/3.1/whatsnew/3.0.html#integers
Signed-off-by: Abhishek Kumar <abhishek.kasyap09@gmail.com>1 parent 9ecbb8b commit cd326ef
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments