Show More
@@ -138,7 +138,7 b' class safelocalstr(bytes):' | |||||
138 |
|
138 | |||
139 |
|
139 | |||
140 | def tolocal(s): |
|
140 | def tolocal(s): | |
141 |
# type: ( |
|
141 | # type: (bytes) -> bytes | |
142 | """ |
|
142 | """ | |
143 | Convert a string from internal UTF-8 to local encoding |
|
143 | Convert a string from internal UTF-8 to local encoding | |
144 |
|
144 | |||
@@ -648,7 +648,7 b' def toutf8b(s):' | |||||
648 |
|
648 | |||
649 |
|
649 | |||
650 | def fromutf8b(s): |
|
650 | def fromutf8b(s): | |
651 |
# type: ( |
|
651 | # type: (bytes) -> bytes | |
652 | '''Given a UTF-8b string, return a local, possibly-binary string. |
|
652 | '''Given a UTF-8b string, return a local, possibly-binary string. | |
653 |
|
653 | |||
654 | return the original binary string. This |
|
654 | return the original binary string. This |
General Comments 0
You need to be logged in to leave comments.
Login now