Skip to content

Commit 1f9d4ee

Browse files
committed
Align with the docstring defined in the C implementation:
"Raised when a COM method call failed." https://github.com/python/cpython/blob/2313f8421080ceb3343c6f5d291279adea85e073/Modules/_ctypes/_ctypes.c#L5548
1 parent 90fb47f commit 1f9d4ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ctypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ different ways, depending on the type and number of the parameters in the call:
18101810
.. exception:: COMError(hresult, text, details)
18111811

18121812
Windows only: This non-public exception is raised when a COM method call
1813-
fails.
1813+
failed.
18141814

18151815
.. attribute:: hresult
18161816

0 commit comments

Comments
 (0)