From 84ccbabe659b7f61620b881611074ecf7fa13c13 Mon Sep 17 00:00:00 2001 From: Katrina Connors <32425204+katconnors@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:10:24 -0700 Subject: [PATCH] Update docs/source/error_code_list.rst Co-authored-by: Jelle Zijlstra --- docs/source/error_code_list.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/error_code_list.rst b/docs/source/error_code_list.rst index 2842d941f5c5..f5537073b8bc 100644 --- a/docs/source/error_code_list.rst +++ b/docs/source/error_code_list.rst @@ -1166,13 +1166,13 @@ Example: from typing import overload, Union @overload - def process(response1: object,response2: object) -> object: + def process(response1: object, response2: object) -> object: ... @overload - def process(response1: int,response2: int) -> int: # E: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader [overload-cannot-match] + def process(response1: int, response2: int) -> int: # E: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader [overload-cannot-match] ... - def process(response1,response2)-> Union[object,int]: + def process(response1: object, response2: object) -> object: return response1 + response2 .. _code-annotation-unchecked: