Skip to content

Do @overloads require an implementation in .pyi stubs ? #1838

Answered by JelleZijlstra
Josverl asked this question in Q&A
Discussion options

You must be logged in to vote

The PEP is no longer normative. The current spec is https://typing.readthedocs.io/en/latest/spec/overload.html and it says pretty clearly that the implementation is required only in .py files.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Josverl
Comment options

@JelleZijlstra
Comment options

Answer selected by Josverl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants