Revision 2361
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/strings.py | ||
---|---|---|
5 | 5 |
|
6 | 6 |
import util |
7 | 7 |
|
8 |
##### Debug printing |
|
9 |
|
|
10 |
class DebugPrintable: |
|
11 |
def __str__(self): return util.class_name(self)+repr(self.__dict__) |
|
12 |
|
|
13 |
def __repr__(self): return str(self) |
|
14 |
|
|
15 | 8 |
##### Parsing |
16 | 9 |
|
17 | 10 |
def split(sep, str_): |
Also available in: Unified diff
strings.py: Removed no longer used DebugPrintable (that functionality is now in objects.BasicObject)