diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-28 06:09:47 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-28 06:09:47 (GMT) |
commit | d1d9a890eb45951b4bc6f5b9d497bd62f16ed361 (patch) | |
tree | ab0f3965948c42fd2f4f4b8cb02ebad9978d2826 | |
parent | 2befd247e95b0776fff71524a7cb604facd4b634 (diff) | |
download | cpython-d1d9a890eb45951b4bc6f5b9d497bd62f16ed361.zip cpython-d1d9a890eb45951b4bc6f5b9d497bd62f16ed361.tar.gz cpython-d1d9a890eb45951b4bc6f5b9d497bd62f16ed361.tar.bz2 |
Kill lingering docs references to UnicodeType.
-rw-r--r-- | Doc/c-api/concrete.rst | 2 | ||||
-rw-r--r-- | Doc/library/types.rst | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Doc/c-api/concrete.rst b/Doc/c-api/concrete.rst index f4472a7..0dc7197 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 9cc188c..eb009ff 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 |