Skip to content

Commit c144e57

Browse files
authored
gh-98657: [docs] array.typecodes is a module-level attribute (#98729)
* gh-98657: [docs] `array.typecodes` is a module-level attribute * Update array.rst
1 parent 8cd21c2 commit c144e57

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Doc/library/array.rst

Lines changed: 8 additions & 3 deletions
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)