What does 'is' do?
Robert Brewer
fumanchu at amor.org
Thu May 6 02:54:30 EDT 2004
Derek Fountain wrote:
> I recently saw a use of 'is' in a piece of Python code. I was
> trying to find
> out what it does. I can't find it in the online docs. I have
> the "Python in
> a Nutshell" book and that mentions it as a keyword, but I can't find a
> description of it in there either. It's not in the index.
>
> Can someone tell me where to look?
It's mentioned briefly in both the Library Reference:
http://docs.python.org/lib/comparisons.html
and in the Language Reference:
http://docs.python.org/ref/comparisons.html
...you really should read:
http://www.python.org/doc/current/ref/objects.html
Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org
More information about the Python-list
mailing list