Skip to content

Commit

Permalink
Accept PEP 561 and link to it from the relevant section in PEP 484
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Jun 27, 2018
1 parent 5c7c89c commit bb9ca32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions pep-0484.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1856,6 +1856,14 @@ Stub file package authors might use the following snippet in ``setup.py``::
],
...

(*UPDATE:* As of June 2018 the recommended way to distribute type
hints for third-party packages has changed -- in addition to typeshed
(see the next section) there is now a standard for distributing type
hints, PEP 561. It supports separately installable packages containing
stubs, stub files included in the same distribution as the executable
code of a package, and inline type hints, the latter two options
enabled by including a file named ``py.typed`` in the package.)

The Typeshed Repo
-----------------

Expand Down
2 changes: 1 addition & 1 deletion pep-0561.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PEP: 561
Title: Distributing and Packaging Type Information
Author: Ethan Smith <[email protected]>
Status: Draft
Status: Acepted
Type: Standards Track
Content-Type: text/x-rst
Created: 09-Sep-2017
Expand Down

0 comments on commit bb9ca32

Please sign in to comment.