-
As an example, see the following stub (
Pyright complains that Is this a bug or how would I specify this correctly? |
Beta Was this translation helpful? Give feedback.
Answered by
erictraut
Sep 15, 2024
Replies: 1 comment 2 replies
-
You can delete the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jonaslb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can delete the
= ...
in the second overload. The first overload already covers the case where a keyword argumentt
is not provided.