(s)
| 15 | |
| 16 | """ dump any string to formatted hex output """ |
| 17 | def dump(s): |
| 18 | import types |
| 19 | if type(s) == types.StringType: |
| 20 | return dumpString(s) |
| 21 | elif type(s) == types.UnicodeType: |
| 22 | return dumpUnicodeString(s) |
| 23 | |
| 24 | FILTER = ''.join([(len(repr(chr(x))) == 3) and chr(x) or '.' for x in range(256)]) |
| 25 |
no test coverage detected