Skip to content

Commit 9461642

Browse files
committed
WindowsError -> OSError
1 parent 934c36a commit 9461642

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
@@ -1793,7 +1793,7 @@ different ways, depending on the type and number of the parameters in the call:
17931793
integer. *name* is name of the COM method. *iid* is an optional pointer to
17941794
the interface identifier which is used in extended error reporting.
17951795

1796-
If *iid* is not specified, a :exc:`WindowsError` is raised if the COM method
1796+
If *iid* is not specified, an :exc:`OSError` is raised if the COM method
17971797
call fails. If *iid* is specified, a :exc:`.COMError` is raised instead.
17981798

17991799
COM methods use a special calling convention: They require a pointer to

0 commit comments

Comments
 (0)