]> granicus.if.org Git - python/commitdiff
Kill lingering docs references to UnicodeType.
authorCollin Winter <collinw@gmail.com>
Tue, 28 Aug 2007 06:09:47 +0000 (06:09 +0000)
committerCollin Winter <collinw@gmail.com>
Tue, 28 Aug 2007 06:09:47 +0000 (06:09 +0000)
Doc/c-api/concrete.rst
Doc/library/types.rst

index f4472a7d8a5c67124d00535f61829ac58856db56..0dc71970b2c76396c5047a55192261f43e91be44 100644 (file)
@@ -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:
index 9cc188c4c78897878fbd6d1aa2f4d69fce9dfe6d..eb009ff5f9ee82002ff7899e2b0f90ed8180b8b2 100644 (file)
@@ -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