Revision 2359
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/objects.py | ||
---|---|---|
1 |
# Objects |
|
2 |
|
|
3 |
class BasicObject: |
|
4 |
'''Provides default implementations of commonly-used methods''' |
|
5 |
|
|
6 |
def __str__(self): return util.class_name(self)+repr(self.__dict__) |
|
7 |
|
|
8 |
def __repr__(self): return str(self) |
Also available in: Unified diff
Added objects.py