A Universe Set

Paul McGuire ptmcg at austin.rr._bogus_.com
Wed Oct 4 17:53:39 CEST 2006


"Jorgen Grahn" <grahn+nntp at snipabacken.dyndns.org> wrote in message 
news:slrnei7icb.gim.grahn+nntp at frailea.sa.invalid...

> - the black hole function 'def f(*args): pass'
> - the identity function 'def f(x): return x'
>
Also not so farfetched.

See the disable and enable decorators at 
http://wiki.python.org/moin/PythonDecoratorLibrary#head-8298dbf9ac7325d9ef15e7130e676378bbbda572.

-- Paul





More information about the Python-list mailing list