diff options
-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 |