Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 30, 2024
1 parent 8185783 commit d842385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/error_code_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ Check error code of overload function signature match

In the case of an overloaded function, if one of the signatures is never accessible, this error may occur.
An example where this can occur is with the utilization of floats and int types, due to the behavior of integers matching floats in mypy.
Consider swapping the declaration of the two types so that the narrower signature is declared before the broader signature.
Consider swapping the declaration of the two types so that the narrower signature is declared before the broader signature.

Example:

Expand Down

0 comments on commit d842385

Please sign in to comment.