root/lib/objects.py @ 2360
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) |