From d0b050b0c1c1d0e1aedc7b5dbe9f25c803537978 Mon Sep 17 00:00:00 2001 From: Yonatan Goldschmidt Date: Thu, 24 Mar 2022 09:03:42 -0400 Subject: [PATCH] Fix array-lengh reference to "non-negative" from "positive" --- Doc/library/ctypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 6e147fc66eb147..dca4c74bab7714 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -2512,7 +2512,7 @@ Arrays and pointers Abstract base class for arrays. The recommended way to create concrete array types is by multiplying any - :mod:`ctypes` data type with a positive integer. Alternatively, you can subclass + :mod:`ctypes` data type with a non-negative integer. Alternatively, you can subclass this type and define :attr:`_length_` and :attr:`_type_` class variables. Array elements can be read and written using standard subscript and slice accesses; for slice reads, the resulting object is