From: Collin Winter Date: Tue, 28 Aug 2007 06:09:47 +0000 (+0000) Subject: Kill lingering docs references to UnicodeType. X-Git-Tag: v3.0a1~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1d9a890eb45951b4bc6f5b9d497bd62f16ed361;p=thirdparty%2FPython%2Fcpython.git Kill lingering docs references to UnicodeType. --- diff --git a/Doc/c-api/concrete.rst b/Doc/c-api/concrete.rst index f4472a7d8a5c..0dc71970b2c7 100644 --- a/Doc/c-api/concrete.rst +++ b/Doc/c-api/concrete.rst @@ -1000,7 +1000,7 @@ this in mind when writing extensions or interfaces. .. cvar:: PyTypeObject PyUnicode_Type This instance of :ctype:`PyTypeObject` represents the Python Unicode type. It - is exposed to Python code as ``unicode`` and ``types.UnicodeType``. + is exposed to Python code as ``str``. The following APIs are really C macros and can be used to do fast checks and to access internal read-only data of Unicode objects: diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 9cc188c4c788..eb009ff5f9ee 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -85,13 +85,6 @@ The module defines the following names: :class:`str`. -.. data:: UnicodeType - - The type of Unicode character strings (e.g. ``u'Spam'``). This is not defined - if Python was built without Unicode support. It's an alias of the built-in - :class:`unicode`. - - .. data:: TupleType The type of tuples (e.g. ``(1, 2, 3, 'Spam')``); alias of the built-in