From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 25 Apr 2023 10:51:39 +0000 (-0700) Subject: [3.11] ctypes docs: fix missing `not` in variadic functions section (GH-102611) ... X-Git-Tag: v3.11.4~167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03f8d8f0d82ca13ae2db56a9cb151a1fb33f3c9c;p=thirdparty%2FPython%2Fcpython.git [3.11] ctypes docs: fix missing `not` in variadic functions section (GH-102611) (#103425) (cherry picked from commit 975d220bbed0e7a15b62f1d2d03557740a55f68d) Co-authored-by: mara004 --- diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 8690f70fd2e0..2be2473f9b9a 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -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.