Thomas Wouters wrote: > > On Tue, Apr 17, 2001 at 10:28:15AM -0700, Paul Prescod wrote: > > > All it would take now is > > > > class help: > > def __repr__(self): > > import pydoc > > __builtins__.help = pydoc.help > > repr(__builtins__.help) > > > But hindsight is 20/20. > > You realize this isn't going to work, right ? The 'help' class will shadow > the 'help' builtin. We do not have to call the class "help" nor to define it in the __main__ or __builtins__ context. Or were you getting at something deeper? -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook
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