]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] ctypes docs: fix missing `not` in variadic functions section (GH-102611) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 25 Apr 2023 10:51:39 +0000 (03:51 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2023 10:51:39 +0000 (16:21 +0530)
(cherry picked from commit 975d220bbed0e7a15b62f1d2d03557740a55f68d)

Co-authored-by: mara004 <geisserml@gmail.com>
Doc/library/ctypes.rst

index 8690f70fd2e07239d6e49ae80f875d73115162b0..2be2473f9b9a429e32e874cce2d1d92a498c573b 100644 (file)
@@ -389,7 +389,7 @@ regular, non-variadic, function arguments:
 
    libc.printf.argtypes = [ctypes.c_char_p]
 
-Because specifying the attribute does inhibit portability it is advised to always
+Because specifying the attribute does not inhibit portability it is advised to always
 specify ``argtypes`` for all variadic functions.