##// END OF EJS Templates
charencode: remove Python 2 support code...
Gregory Szorc -
r49762:b677bccf default
parent child Browse files
Show More
@@ -67,10 +67,7 b' def jsonescapeu8fast(u8chars, paranoid):'
67 raise ValueError
67 raise ValueError
68
68
69
69
70 if pycompat.ispy3:
71 _utf8strict = r'surrogatepass'
70 _utf8strict = r'surrogatepass'
72 else:
73 _utf8strict = r'strict'
74
71
75
72
76 def jsonescapeu8fallback(u8chars, paranoid):
73 def jsonescapeu8fallback(u8chars, paranoid):
General Comments 0
You need to be logged in to leave comments. Login now