##// END OF EJS Templates
typing: suppress error of py2 encoding.strtolocal() and .strfromlocal()...
Yuya Nishihara -
r44078:7f51bc36 default
parent child Browse files
Show More
@@ -268,11 +268,11 b' else:'
268 268
269 269 def strtolocal(s):
270 270 # type: (str) -> bytes
271 return s
271 return s # pytype: disable=bad-return-type
272 272
273 273 def strfromlocal(s):
274 274 # type: (bytes) -> str
275 return s
275 return s # pytype: disable=bad-return-type
276 276
277 277 strmethod = pycompat.identity
278 278
General Comments 0
You need to be logged in to leave comments. Login now