mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -1057,9 +1057,9 @@ class Queens:
|
|||
# generates the possiblities for the columns in that row.
|
||||
self.rowgenerators = []
|
||||
for i in rangen:
|
||||
rowuses = [(1L << j) | # column ordinal
|
||||
(1L << (n + i-j + n-1)) | # NW-SE ordinal
|
||||
(1L << (n + 2*n-1 + i+j)) # NE-SW ordinal
|
||||
rowuses = [(1 << j) | # column ordinal
|
||||
(1 << (n + i-j + n-1)) | # NW-SE ordinal
|
||||
(1 << (n + 2*n-1 + i+j)) # NE-SW ordinal
|
||||
for j in rangen]
|
||||
|
||||
def rowgen(rowuses=rowuses):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue