Changeset 31:c62ed518e5c8
- Timestamp:
- 09/01/13 14:14:35 (8 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagslang/mutators.py
r24 r31 17 17 18 18 def __eq__(self, other): 19 if not isinstance(other, Mutator): 20 return NotImplemented 19 21 return (self._func is other._func) and (self._args == other._args) 20 22 21 def __rep or__(self):23 def __repr__(self): 22 24 return '<%s %r>' % (self.__class__.__name__, self._args) 23 25
Note:
See TracChangeset
for help on using the changeset viewer.