[Python-checkins] ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097)

JelleZijlstra webhook-mailer at python.org
Sun Mar 27 23:12:26 EDT 2022


https://github.com/python/cpython/commit/76f14b0463dc2c53911eaf95e85374e511ba9bcc
commit: 76f14b0463dc2c53911eaf95e85374e511ba9bcc
branch: main
author: Yonatan Goldschmidt <yon.goldschmidt at gmail.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022年03月27日T20:12:21-07:00
summary:
ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097)
files:
M Doc/library/ctypes.rst
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 6e147fc66eb14..dca4c74bab771 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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /