##// END OF EJS Templates
typing: fix argument type of encoding.localstr()...
Yuya Nishihara -
r44079:009c115e default
parent child Browse files
Show More
@@ -117,7 +117,7 b' class localstr(bytes):'
117 117 round-tripped to the local encoding and back'''
118 118
119 119 def __new__(cls, u, l):
120 # type: (Type[_Tlocalstr], Text, bytes) -> _Tlocalstr
120 # type: (Type[_Tlocalstr], bytes, bytes) -> _Tlocalstr
121 121 s = bytes.__new__(cls, l)
122 122 s._utf8 = u
123 123 return s
General Comments 0
You need to be logged in to leave comments. Login now