mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
_dis_test should be a raw string now that it contains \x escapes.
This commit is contained in:
parent
d0f7c86a20
commit
03e35327f2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue