Commits

Ali Gholami Rudi  committed 5cecd0a

pyobjects: updated PyObject.__eq__ pydoc

  • Participants
  • Parent commits 08d62c4

Comments (0)

Files changed (1)

File rope/base/pyobjects.py

     def __eq__(self, obj):
         """Check the equality of two `PyObject`\s
 
-        Currently it is assumed that two instances(The direct instances
-        of `PyObject` are equal if their types are equal.  For every
-        other object like defineds or builtins we assume objects are
-        reference objects.
+        Currently it is assumed that instances (the direct instances
+        of `PyObject`, not the instances of its subclasses) are equal
+        if their types are equal.  For every other object like
+        defineds or builtins rope assumes objects are reference
+        objects and their identities should match.
 
         """
         if self.__class__ != obj.__class__: