summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2022-03-28 03:12:21 (GMT)
committerGitHub <noreply@github.com>2022-03-28 03:12:21 (GMT)
commit76f14b0463dc2c53911eaf95e85374e511ba9bcc (patch)
tree3522de4acf8959a2c39caa59a29ad1ecbd42c579 /Doc
parentf6b3a07b7df60dc04d0260169ffef6e9796a2124 (diff)
downloadcpython-76f14b0463dc2c53911eaf95e85374e511ba9bcc.zip
cpython-76f14b0463dc2c53911eaf95e85374e511ba9bcc.tar.gz
cpython-76f14b0463dc2c53911eaf95e85374e511ba9bcc.tar.bz2
ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 6e147fc..dca4c74 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