Lines Matching refs:that
127 def __eq__(self, that): argument
128 if not isinstance(that, Enum):
130 return (self.typeName == that.typeName) and (self.value == that.value)
143 def __eq__(self, that): argument
144 if not isinstance(that, Type):
146 return self.typeClass == that.typeClass and self.typeName == that.typeName
176 def __eq__(self, that): argument
177 if isinstance(that, (str, unicode)):
178 if len(that) > 1:
180 return self.value == that[0]
181 if isinstance(that, Char):
182 return self.value == that.value
197 def __eq__(self, that): argument
198 if isinstance( that, ByteSequence):
199 return self.value == that.value
200 elif isinstance(that, (bytes, bytearray)):
201 return self.value == that