Search notes:

Python: is operator

The is operator compares the identity of two object references and returns True if both identities are equal and False otherwise.
The identies are equal if and only if both references refer to exactly the same object.

See also

The built-in function isinstance().
Multiple variables referring to the same object
operators

Index