Show More
@@ -42,11 +42,11 b' def _string_escape(text):' | |||
|
42 | 42 | def decodeextra(text): |
|
43 | 43 | """ |
|
44 | 44 | >>> sorted(decodeextra(encodeextra({b'foo': b'bar', b'baz': chr(0) + b'2'}) |
|
45 |
... ).ite |
|
|
45 | ... ).items()) | |
|
46 | 46 | [('baz', '\\x002'), ('branch', 'default'), ('foo', 'bar')] |
|
47 | 47 | >>> sorted(decodeextra(encodeextra({b'foo': b'bar', |
|
48 | 48 | ... b'baz': chr(92) + chr(0) + b'2'}) |
|
49 |
... ).ite |
|
|
49 | ... ).items()) | |
|
50 | 50 | [('baz', '\\\\\\x002'), ('branch', 'default'), ('foo', 'bar')] |
|
51 | 51 | """ |
|
52 | 52 | extra = _defaultextra.copy() |
General Comments 0
You need to be logged in to leave comments.
Login now