From: Jun Komoda <45822440+junkmd@users.noreply.github.com> Date: Tue, 7 Jan 2025 08:36:27 +0000 (+0900) Subject: Add `.. availability:: Windows` directive to COM-related function prototype (GH-127436) X-Git-Tag: v3.14.0a4~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=145276a072ae058bac42ee43a4235cd4eda2726b;p=thirdparty%2FPython%2Fcpython.git Add `.. availability:: Windows` directive to COM-related function prototype (GH-127436) Add a directive to prototype that "returns a foreign function that will call a COM method" --- diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 398cb92bac80..f25bf94417c1 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1812,6 +1812,8 @@ different ways, depending on the type and number of the parameters in the call: the COM interface as first argument, in addition to those parameters that are specified in the :attr:`!argtypes` tuple. + .. availability:: Windows + The optional *paramflags* parameter creates foreign function wrappers with much more functionality than the features described above.