On 10/4/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > Jorgen Grahn wrote: > > - the wildcard object, which compares equal to everything else > > - infinite xrange()s > > - the black hole function 'def f(*args): pass' > > - the identity function 'def f(x): return x' > > Any use cases for these?
I used the last one in my .emacs (but it had a lot to with stupid emacs lisp). It might also be useful for some theoretical aspects of FP and mathematical applications (maybe! IANAE!!). See: http://en.wikipedia.org/wiki/Fixed_point_%28mathematics%29 -- Theerasak -- http://mail.python.org/mailman/listinfo/python-list