Am 24.04.2012 08:02 schrieb rusi:
On Apr 23, 9:34 am, Steven D'Aprano<steve
+comp.lang.pyt...@pearwood.info> wrote:
"is" is never ill-defined. "is" always, without exception, returns True
if the two operands are the same object, and False if they are not. This
is literally the simplest operator in Python.
Circular definition: In case you did not notice, 'is' and 'are' are
(or is it is?) the same verb.
Steven's definition tries not to define the "verb" "is", but it defines
the meanung of the *operator* 'is'.
He says that 'a is b' iff a and be are *the same objects*. We don't need
to define the verb "to be", but the target of the definition is the
entity "object" and its identity.
Thomas
--
http://mail.python.org/mailman/listinfo/python-list