PEP 561: 'py.typed' with 'partial\n' is a requirement for partial stub package. (#773)

This commit is contained in:
Sergey 2018-09-13 03:25:20 +03:00 committed by Brett Cannon
parent e7e2d43069
commit 67ce71c11c
1 changed files with 2 additions and 2 deletions

View File

@ -203,8 +203,8 @@ typeshed folder and type checking the combined directory structure. Thus type
checkers MUST maintain the normal resolution order of checking ``*.pyi`` before
``*.py`` files.
Stub packages can opt into declaring themselves as partial by including
``partial\n`` in the package's ``py.typed`` file.
If a stub package is partial it MUST include ``partial\n`` in a top level
``py.typed`` file.
Implementation