Skip to content

Commit 85cc5d0

Browse files
gh-98657: [docs] array.typecodes is a module-level attribute (GH-98729)
* gh-98657: [docs] `array.typecodes` is a module-level attribute * Update array.rst (cherry picked from commit c144e57) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 5e49807 commit 85cc5d0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Doc/library/array.rst

+8-3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ The actual representation of values is determined by the machine architecture
6262
(strictly speaking, by the C implementation). The actual size can be accessed
6363
through the :attr:`itemsize` attribute.
6464

65+
The module defines the following item:
66+
67+
68+
.. data:: typecodes
69+
70+
A string with all available type codes.
71+
72+
6573
The module defines the following type:
6674

6775

@@ -79,9 +87,6 @@ The module defines the following type:
7987

8088
.. audit-event:: array.__new__ typecode,initializer array.array
8189

82-
.. data:: typecodes
83-
84-
A string with all available type codes.
8590

8691
Array objects support the ordinary sequence operations of indexing, slicing,
8792
concatenation, and multiplication. When using slice assignment, the assigned

0 commit comments

Comments
 (0)