diff options
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index ea2d97c..c02c140 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -113,7 +113,7 @@ def cram(text, maxlen): return text[:pre] + '...' + text[len(text)-post:] return text -_re_stripid = re.compile(r' at 0x[0-9a-f]{6,}(>+)$', re.IGNORECASE) +_re_stripid = re.compile(r' at 0x[0-9a-f]{6,16}(>+)$', re.IGNORECASE) def stripid(text): """Remove the hexadecimal id from a Python object representation.""" # The behaviour of %p is implementation-dependent in terms of case. |