Skip to content

Commit

Permalink
Spec: add links to PEPs 484 and 561; add a new anchor for easy inters…
Browse files Browse the repository at this point in the history
…phinx referencing
  • Loading branch information
AlexWaygood authored Jun 5, 2024
1 parent 84bed8b commit 814a071
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/spec/distributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Distributing type information
Stub files
----------

(Originally specified in :pep:`484`.)

Stub files are files containing type hints that are only for use by
the type checker, not at runtime. There are several use cases for
stub files:
Expand Down Expand Up @@ -85,9 +87,13 @@ and type stubs for third-party libraries that don't ship their own type informat
stubs collected there are decided separately and described in the project's
documentation.

.. _packaging-typed-libraries:

Type information in libraries
-----------------------------

(Originally specified in :pep:`561`.)

There are several motivations and methods of supporting typing in a package.
This specification recognizes three types of packages that users of typing wish to
create:
Expand Down

0 comments on commit 814a071

Please sign in to comment.