Clarify backward-compatible type annotations

Previous wording used the term "function annotations" which is overly generic. This commit modifies the wording to make it clear we don't mean arbitrary function annotations.
This commit is contained in:
Łukasz Langa 2016-06-20 13:23:55 -07:00 committed by GitHub
parent 97f08774d5
commit b8a510bf29
1 changed files with 1 additions and 1 deletions

View File

@ -1325,7 +1325,7 @@ annotations are changing.
Stub files can be distributed with a library, or separately (with
the library author's permission) through the typeshed repo [5]_.
- For code that needs to be backwards compatible, function annotations
- For code that needs to be backwards compatible, type annotations
can be added in the form of comments. See the relevant section of
PEP 484 [6]_.