From ef87d6ed94780fe00250a551031023aeb2898365 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 2 May 2007 19:09:54 +0000 Subject: Rip out all the u"..." literals and calls to unicode(). --- Lib/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/types.py') 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,) -- cgit v1.2.1