From d1d9a890eb45951b4bc6f5b9d497bd62f16ed361 Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Tue, 28 Aug 2007 06:09:47 +0000 Subject: [PATCH] Kill lingering docs references to UnicodeType. --- Doc/c-api/concrete.rst | 2 +- Doc/library/types.rst | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Doc/c-api/concrete.rst b/Doc/c-api/concrete.rst index f4472a7d8a5..0dc71970b2c 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 9cc188c4c78..eb009ff5f9e 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