diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-03-29 02:47:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 02:47:37 (GMT) |
commit | 5f0305b383ab15eb19061e5aa069c224000fed4b (patch) | |
tree | 11ac40b617d40db765a4f05e8529d7cd7795081a | |
parent | d6d170fa80f66876f913475ff96e8c344329b218 (diff) | |
download | cpython-5f0305b383ab15eb19061e5aa069c224000fed4b.zip cpython-5f0305b383ab15eb19061e5aa069c224000fed4b.tar.gz cpython-5f0305b383ab15eb19061e5aa069c224000fed4b.tar.bz2 |
ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097) (GH-32143)
(cherry picked from commit 76f14b0463dc2c53911eaf95e85374e511ba9bcc)
Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
-rw-r--r-- | Doc/library/ctypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index c10e54f..7665f21 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -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 |