Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1d9a89

Browse files
committed
Kill lingering docs references to UnicodeType.
1 parent 2befd24 commit d1d9a89

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

Doc/c-api/concrete.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ this in mind when writing extensions or interfaces.
10001000
.. cvar:: PyTypeObject PyUnicode_Type
10011001

10021002
This instance of :ctype:`PyTypeObject` represents the Python Unicode type. It
1003-
is exposed to Python code as ``unicode`` and ``types.UnicodeType``.
1003+
is exposed to Python code as ``str``.
10041004

10051005
The following APIs are really C macros and can be used to do fast checks and to
10061006
access internal read-only data of Unicode objects:

Doc/library/types.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ The module defines the following names:
8585
:class:`str`.
8686

8787

88-
.. data:: UnicodeType
89-
90-
The type of Unicode character strings (e.g. ``u'Spam'``). This is not defined
91-
if Python was built without Unicode support. It's an alias of the built-in
92-
:class:`unicode`.
93-
94-
9588
.. data:: TupleType
9689

9790
The type of tuples (e.g. ``(1, 2, 3, 'Spam')``); alias of the built-in

0 commit comments

Comments
 (0)