##// END OF EJS Templates
py3: call codecs.escape_decode() directly...
Yuya Nishihara -
r31485:cad95575 default
parent child Browse files
Show More
@@ -2138,7 +2138,7 b' def escapestr(s):'
2138 return codecs.escape_encode(s)[0]
2138 return codecs.escape_encode(s)[0]
2139
2139
2140 def unescapestr(s):
2140 def unescapestr(s):
2141 return s.decode('string_escape')
2141 return codecs.escape_decode(s)[0]
2142
2142
2143 def uirepr(s):
2143 def uirepr(s):
2144 # Avoid double backslash in Windows path repr()
2144 # Avoid double backslash in Windows path repr()
General Comments 0
You need to be logged in to leave comments. Login now