[Python-checkins] [3.11] ctypes docs: fix missing `not` in variadic functions section (GH-102611) (#103425)

kumaraditya303 webhook-mailer at python.org
Tue Apr 25 06:51:51 EDT 2023


https://github.com/python/cpython/commit/03f8d8f0d82ca13ae2db56a9cb151a1fb33f3c9c
commit: 03f8d8f0d82ca13ae2db56a9cb151a1fb33f3c9c
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-04-25T16:21:39+05:30
summary:

[3.11] ctypes docs: fix missing `not` in variadic functions section (GH-102611) (#103425)

(cherry picked from commit 975d220bbed0e7a15b62f1d2d03557740a55f68d)

Co-authored-by: mara004 <geisserml at gmail.com>

files:
M Doc/library/ctypes.rst

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.
 
 



More information about the Python-checkins mailing list