I'll refer you all to the copy of random.py you have on your hard-disks, to line 68, where a function new_generator(a=None) is defined, merely returning generator(a=None). I wonder who put it there, and why. At least to simplify the weirdness, we could change it to # for backwards compatability new_generator = generator Which would work for all but the most obscure hacks. -- Moshe Zadka <mzadka@geocities.com>. INTERNET: Learn what you know. Share what you don't.
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