mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
This commit is contained in:
parent
fc7bb8c786
commit
e2a383d062
146 changed files with 1446 additions and 1477 deletions
|
@ -682,7 +682,7 @@ def mac_ver(release='',versioninfo=('','',''),machine=''):
|
|||
patch = (sysv & 0x000F)
|
||||
release = '%s.%i.%i' % (_bcd2str(major),minor,patch)
|
||||
if sysu:
|
||||
major = int((sysu & 0xFF000000L) >> 24)
|
||||
major = int((sysu & 0xFF000000) >> 24)
|
||||
minor = (sysu & 0x00F00000) >> 20
|
||||
bugfix = (sysu & 0x000F0000) >> 16
|
||||
stage = (sysu & 0x0000FF00) >> 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue