A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014307.html below:

[Python-Dev] Python 2.1 PEPs

[Python-Dev] Python 2.1 PEPs [Python-Dev] Python 2.1 PEPsThomas Wouters thomas@xs4all.net
Tue, 17 Apr 2001 19:50:41 +0200
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.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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