.. 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:
: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