Algorithm used by keyword 'in'

Jeremy Bowers jerf at jerf.org
Sat Oct 9 14:09:50 EDT 2004


On Sat, 09 Oct 2004 14:54:09 +0000, Derek Rhodes wrote:
> What algorithm is used here?

In addition to John Roth's post, see the bottom of
http://docs.python.org/ref/sequence-types.html , which will help you
create your own algorithms for your own classes, if you like.



More information about the Python-list mailing list