> Reduce the usage of the types module. > Index: xmlrpclib.py > =================================================================== > RCS file: /cvsroot/python/python/dist/src/Lib/xmlrpclib.py,v # Notes: # this version is designed to work with Python 2.1 or newer. > - dispatch[IntType] = dump_int > + dispatch[int] = dump_int $ python2.1 >>> type(0) == int 0 >>> type([]) == list 0 >>> type({}) == dict Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'dict' is not defined </F>
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