Skip to content

Commit

Permalink
Use () for get_function_sig_hook docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jun 23, 2023
1 parent 2e304ca commit 7ae7c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/extending_mypy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ This hook will be also called for instantiation of classes.
This is a good choice if the return type is too complex
to be expressed by regular python typing.

**get_function_signature_hook** is used to adjust the signature of a function.
**get_function_signature_hook()** is used to adjust the signature of a function.

**get_method_hook()** is the same as ``get_function_hook()`` but for methods
instead of module level functions.
Expand Down

0 comments on commit 7ae7c96

Please sign in to comment.