Skip to content

Commit 49d5e5f

Browse files
committed
Add the availability.
1 parent dafb5b2 commit 49d5e5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/ctypes.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,8 +1809,7 @@ different ways, depending on the type and number of the parameters in the call:
18091809

18101810
.. exception:: COMError(hresult, text, details)
18111811

1812-
Windows only: This non-public exception is raised when a COM method call
1813-
failed.
1812+
This non-public exception is raised when a COM method call failed.
18141813

18151814
.. attribute:: hresult
18161815

@@ -1824,6 +1823,8 @@ different ways, depending on the type and number of the parameters in the call:
18241823

18251824
The 5-tuple representing additional details about the error.
18261825

1826+
.. availability:: Windows
1827+
18271828

18281829
The optional *paramflags* parameter creates foreign function wrappers with much
18291830
more functionality than the features described above.

0 commit comments

Comments
 (0)