From 3b71e1ee09f18aba4ef74e60f323302ff857a89b Mon Sep 17 00:00:00 2001 From: Pranav Rajpal <78008260+pranavrajpal@users.noreply.github.com> Date: Tue, 27 Apr 2021 21:48:40 -0700 Subject: [PATCH] Fix documentation style Change the documentation style for the arguments to find_type_equals_check to be closer to what the rest of the code base is using. --- mypy/checker.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mypy/checker.py b/mypy/checker.py index ca3e46b4e158..18a7cfdac93f 100644 --- a/mypy/checker.py +++ b/mypy/checker.py @@ -3961,9 +3961,10 @@ def find_type_equals_check(self, node: ComparisonExpr, expr_indices: List[int] ) -> Tuple[TypeMap, TypeMap]: """Narrow types based on any checks of the type ``type(x) == T`` - :param node: The node that might contain the comparison - - :param expr_indices: The list of indices of expressions in ``node`` that are being compared + Args: + node: The node that might contain the comparison + expr_indices: The list of indices of expressions in ``node`` that are being + compared """ type_map = self.type_map