summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorJun Komoda <45822440+junkmd@users.noreply.github.com>2025-01-07 08:36:27 (GMT)
committerGitHub <noreply@github.com>2025-01-07 08:36:27 (GMT)
commit145276a072ae058bac42ee43a4235cd4eda2726b (patch)
tree0317fe971c659426296c3cadb33159da7debc691 /Doc/library
parentb3cbd8f1b58b9e71df20bdda9960e7d3190c509e (diff)
downloadcpython-145276a072ae058bac42ee43a4235cd4eda2726b.zip
cpython-145276a072ae058bac42ee43a4235cd4eda2726b.tar.gz
cpython-145276a072ae058bac42ee43a4235cd4eda2726b.tar.bz2
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"
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/ctypes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 398cb92..f25bf94 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.