We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73783d commit 9d59e7eCopy full SHA for 9d59e7e
1 file changed
Doc/library/ctypes.rst
@@ -708,9 +708,7 @@ Specifying function pointers using type annotations
708
709
@wrap_dll_function(dll_to_wrap)
710
def function_ptr_name(arg_name: ctypes_type, ...) -> ctypes_type:
711
- """Optional docstring."""
712
- # There should be no body
713
- pass
+ """Optional docstring. There should be no function body."""
714
715
The body of the decorated function is ignored, and any parameters that are
716
missing type annotations are skipped. The names of the parameters are ignored
0 commit comments