diff options
author | Guido van Rossum <guido@python.org> | 2007-05-02 19:09:54 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-02 19:09:54 +0000 |
commit | ef87d6ed94780fe00250a551031023aeb2898365 (patch) | |
tree | 1f8989aaaec7ec5f8b2f26498317f2022bf85531 /Lib/types.py | |
parent | Checkpoint. Manipulated things so that string literals are always (diff) | |
download | cpython-ef87d6ed94780fe00250a551031023aeb2898365.tar.gz cpython-ef87d6ed94780fe00250a551031023aeb2898365.tar.bz2 cpython-ef87d6ed94780fe00250a551031023aeb2898365.zip |
Rip out all the u"..." literals and calls to unicode().
Diffstat (limited to 'Lib/types.py')
-rw-r--r-- | Lib/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/types.py b/Lib/types.py index 22d00f7784d..de158f625d5 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -28,7 +28,7 @@ StringType = str # types.StringTypes", you should use "isinstance(x, basestring)". But # we keep around for compatibility with Python 2.2. try: - UnicodeType = unicode + UnicodeType = str StringTypes = (StringType, UnicodeType) except NameError: StringTypes = (StringType,) |