]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add `.. availability:: Windows` directive to COM-related function prototype (GH-127436)
authorJun Komoda <45822440+junkmd@users.noreply.github.com>
Tue, 7 Jan 2025 08:36:27 +0000 (17:36 +0900)
committerGitHub <noreply@github.com>
Tue, 7 Jan 2025 08:36:27 +0000 (09:36 +0100)
Add a directive to prototype that "returns a foreign function that will call a COM method"

Doc/library/ctypes.rst

index 398cb92bac809ae75cc6114b64fe145c5385a3f3..f25bf94417c198d33b445cb9d3a62c0fccb101a4 100644 (file)
@@ -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.