mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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