Skip to content

Commit 72ce281

Browse files
committed
Remove redundant and/or incorrect init args
1 parent eefc07f commit 72ce281

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ctypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ way is to instantiate :py:class:`CDLL` or one of its subclasses:
15871587

15881588
The name of the library passed in the constructor.
15891589

1590-
.. class:: OleDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winmode=None)
1590+
.. class:: OleDLL
15911591

15921592
See :py:class:`~ctypes.CDLL`, the superclass, for common information.
15931593

@@ -1604,7 +1604,7 @@ way is to instantiate :py:class:`CDLL` or one of its subclasses:
16041604
which is now an alias of :exc:`OSError`.
16051605

16061606

1607-
.. class:: WinDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winmode=None)
1607+
.. class:: WinDLL
16081608

16091609
See :py:class:`~ctypes.CDLL`, the superclass, for common information.
16101610

@@ -1613,7 +1613,7 @@ way is to instantiate :py:class:`CDLL` or one of its subclasses:
16131613

16141614
.. availability:: Windows
16151615

1616-
.. class:: PyDLL(name, mode=DEFAULT_MODE, handle=None)
1616+
.. class:: PyDLL
16171617

16181618
See :py:class:`~ctypes.CDLL`, the superclass, for common information.
16191619

0 commit comments

Comments
 (0)