diff options
author | Guido van Rossum <guido@python.org> | 2003-01-28 15:37:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-01-28 15:37:13 (GMT) |
commit | 03e35327f26d353db126a8f840a8890b3593f18a (patch) | |
tree | 454b17166f9648e62b245d7c9171c2e34087b6c2 | |
parent | d0f7c86a20e9cef8cbf2c8fb676fcc8d8a7000b4 (diff) | |
download | cpython-03e35327f26d353db126a8f840a8890b3593f18a.zip cpython-03e35327f26d353db126a8f840a8890b3593f18a.tar.gz cpython-03e35327f26d353db126a8f840a8890b3593f18a.tar.bz2 |
_dis_test should be a raw string now that it contains \x escapes.
-rw-r--r-- | Lib/pickletools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index fabeb65..5227841 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -1899,7 +1899,7 @@ def dis(pickle, out=None, indentlevel=4): markstack.append(pos) -_dis_test = """ +_dis_test = r""" >>> import pickle >>> x = [1, 2, (3, 4), {'abc': u"def"}] >>> pkl = pickle.dumps(x, 0) |