summaryrefslogtreecommitdiff
path: root/Lib/types.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-02 19:09:54 +0000
committerGuido van Rossum <guido@python.org>2007-05-02 19:09:54 +0000
commitef87d6ed94780fe00250a551031023aeb2898365 (patch)
tree1f8989aaaec7ec5f8b2f26498317f2022bf85531 /Lib/types.py
parent572dbf8f1320c0b34b9c786e5c30ba4a4b61b292 (diff)
downloadcpython-git-ef87d6ed94780fe00250a551031023aeb2898365.tar.gz
Rip out all the u"..." literals and calls to unicode().
Diffstat (limited to 'Lib/types.py')
-rw-r--r--Lib/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/types.py b/Lib/types.py
index 22d00f7784..de158f625d 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,)