Show More
@@ -117,7 +117,7 b' class localstr(bytes):' | |||||
117 | round-tripped to the local encoding and back''' |
|
117 | round-tripped to the local encoding and back''' | |
118 |
|
118 | |||
119 | def __new__(cls, u, l): |
|
119 | def __new__(cls, u, l): | |
120 |
# type: (Type[_Tlocalstr], |
|
120 | # type: (Type[_Tlocalstr], bytes, bytes) -> _Tlocalstr | |
121 | s = bytes.__new__(cls, l) |
|
121 | s = bytes.__new__(cls, l) | |
122 | s._utf8 = u |
|
122 | s._utf8 = u | |
123 | return s |
|
123 | return s |
General Comments 0
You need to be logged in to leave comments.
Login now