ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097) (GH-32142)

(cherry picked from commit 76f14b0463)

Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-03-28 19:47:57 -07:00 committed by GitHub
parent 604d003ab4
commit 11408ff47e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2513,7 +2513,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