Show More
@@ -8,6 +8,7 b' def f(obj):' | |||||
8 | l = repr(obj) |
|
8 | l = repr(obj) | |
9 | l = rsub("0x[0-9a-fA-F]+", "0x?", l) |
|
9 | l = rsub("0x[0-9a-fA-F]+", "0x?", l) | |
10 | l = rsub("from '.*'", "from '?'", l) |
|
10 | l = rsub("from '.*'", "from '?'", l) | |
|
11 | l = rsub("'<[a-z]*>'", "'<whatever>'", l) | |||
11 | return l |
|
12 | return l | |
12 |
|
13 | |||
13 | import os |
|
14 | import os |
@@ -11,5 +11,5 b" fred = <unloaded module 're'>" | |||||
11 | fred.sub = <function sub at 0x?> |
|
11 | fred.sub = <function sub at 0x?> | |
12 | fred = <proxied module 're'> |
|
12 | fred = <proxied module 're'> | |
13 | re = <unloaded module 'sys'> |
|
13 | re = <unloaded module 'sys'> | |
14 |
re.stderr = <open file '< |
|
14 | re.stderr = <open file '<whatever>', mode 'w' at 0x?> | |
15 | re = <proxied module 'sys'> |
|
15 | re = <proxied module 'sys'> |
General Comments 0
You need to be logged in to leave comments.
Login now