Terry Reedy wrote: >>>>def id(o, max = 2**32): > > ... i = __builtins__.id(o) > ... return (i < 0) and (max - i) or i > ... > This code doesn't need an extra parameter: def id(o): return (sys.maxint * 2 + 1) & __builtins__.id(o) -- -- Scott David Daniels Scott.Daniels at Acm.Org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4