Skip to content

Commit 76f14b0

Browse files
authored
ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097)
1 parent f6b3a07 commit 76f14b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ctypes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ Arrays and pointers
25122512
Abstract base class for arrays.
25132513

25142514
The recommended way to create concrete array types is by multiplying any
2515-
:mod:`ctypes` data type with a positive integer. Alternatively, you can subclass
2515+
:mod:`ctypes` data type with a non-negative integer. Alternatively, you can subclass
25162516
this type and define :attr:`_length_` and :attr:`_type_` class variables.
25172517
Array elements can be read and written using standard
25182518
subscript and slice accesses; for slice reads, the resulting object is

0 commit comments

Comments
 (0)