mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Rip out all the u"..." literals and calls to unicode().
This commit is contained in:
parent
572dbf8f13
commit
ef87d6ed94
200 changed files with 18074 additions and 18074 deletions
|
@ -28,7 +28,7 @@ def unistr(data):
|
|||
for x in data:
|
||||
if x > sys.maxunicode:
|
||||
raise RangeError
|
||||
return u"".join([unichr(x) for x in data])
|
||||
return "".join([unichr(x) for x in data])
|
||||
|
||||
class NormalizationTest(unittest.TestCase):
|
||||
def test_main(self):
|
||||
|
@ -84,7 +84,7 @@ class NormalizationTest(unittest.TestCase):
|
|||
|
||||
def test_bug_834676(self):
|
||||
# Check for bug 834676
|
||||
normalize('NFC', u'\ud55c\uae00')
|
||||
normalize('NFC', '\ud55c\uae00')
|
||||
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue