mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
parent
c723a14bfb
commit
708b4dacf4
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ class Codec(codecs.Codec):
|
|||
labels = dots.split(input)
|
||||
else:
|
||||
# Must be ASCII string
|
||||
input = str(input)
|
||||
unicode(input, "ascii")
|
||||
labels = input.split(".")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue