Does the "is" operator only matter for mutable object?

INADA Naoki <[email protected]> Sat, 5 Mar 2011 11:19:52 +0900
Newsgroups gmane.comp.python.documentation
Message-ID <[email protected]>
In
http://docs.python.org/py3k/tutorial/datastructures.html#comparing-sequences-and-other-types
,

The operators is and is notcompare whether two objects are really the same
> object;
> this only matters for mutable objects like lists.


I think this notation may confuse readers of the tutorial. For example, pep8
recommands
using is operator for immutable singleton objects like None.

Shall we remove letter part?
-- 
INADA Naoki  <[email protected]>

_______________________________________________
Doc-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/doc-sig