define 'in' operator on lists
Peter Otten
__peter__ at web.de
Mon Oct 11 10:03:31 EDT 2004
Michael Hoffman wrote:
> Duncan Booth wrote:
>>>>>def containedinsequence(short, long):
>
> It's probably a good idea not to shadow the long built-in.
Relax. It's only shadowed inside a function that doesn't use the builtin
anyway.
Peter
PS: For me to make that U-turn it took GvR pointing out the obvious:
http://mail.python.org/pipermail/python-dev/2004-July/045948.html
More information about the Python-list
mailing list