Skip to content

Commit

Permalink
Update docs/source/error_code_list.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
katconnors and JelleZijlstra committed Sep 13, 2024
1 parent 5613432 commit 84ccbab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/error_code_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 84ccbab

Please sign in to comment.