Skip to content

Commit 11da23a

Browse files
authored
Spec: "Distributing type information": add links to PEPs 484 and 561; add a new anchor for easy intersphinx referencing (#1767)
1 parent 84bed8b commit 11da23a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/spec/distributing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Distributing type information
88
Stub files
99
----------
1010

11+
(Originally specified in :pep:`484`.)
12+
1113
Stub files are files containing type hints that are only for use by
1214
the type checker, not at runtime. There are several use cases for
1315
stub files:
@@ -85,9 +87,13 @@ and type stubs for third-party libraries that don't ship their own type informat
8587
stubs collected there are decided separately and described in the project's
8688
documentation.
8789

90+
.. _packaging-typed-libraries:
91+
8892
Type information in libraries
8993
-----------------------------
9094

95+
(Originally specified in :pep:`561`.)
96+
9197
There are several motivations and methods of supporting typing in a package.
9298
This specification recognizes three types of packages that users of typing wish to
9399
create:

0 commit comments

Comments
 (0)