From 7ae7c9691361b03c559b892546ae08a07b92efec Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Fri, 23 Jun 2023 06:50:39 +0300 Subject: [PATCH] Use `()` for `get_function_sig_hook` docs --- docs/source/extending_mypy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/extending_mypy.rst b/docs/source/extending_mypy.rst index daf863616334..506f548db687 100644 --- a/docs/source/extending_mypy.rst +++ b/docs/source/extending_mypy.rst @@ -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.