diff options
Diffstat (limited to 'libmproxy/tnetstring.py')
-rw-r--r-- | libmproxy/tnetstring.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/tnetstring.py b/libmproxy/tnetstring.py index bed8405f..c5c185c6 100644 --- a/libmproxy/tnetstring.py +++ b/libmproxy/tnetstring.py @@ -60,10 +60,10 @@ By default tnetstrings work only with byte strings, not unicode. If you want unicode strings then pass an optional encoding to the various functions, like so:: - >>> print repr(tnetstring.loads("2:\\xce\\xb1,")) + >>> print(repr(tnetstring.loads("2:\\xce\\xb1,"))) '\\xce\\xb1' >>> - >>> print repr(tnetstring.loads("2:\\xce\\xb1,","utf8")) + >>> print(repr(tnetstring.loads("2:\\xce\\xb1,","utf8"))) u'\u03b1' """ |