Mention both relevant PEPs in function annotations tutorial (GH-6304)

Patch by Neeraj Badlani.
This commit is contained in:
Neeraj Badlani 2018-04-25 10:52:13 -07:00 committed by Zachary Ware
parent d6ef6db9ff
commit 643ff711fa
1 changed files with 2 additions and 2 deletions

View File

@ -678,8 +678,8 @@ Function Annotations
single: -> (return annotation assignment)
:ref:`Function annotations <function>` are completely optional metadata
information about the types used by user-defined functions (see :pep:`484`
for more information).
information about the types used by user-defined functions (see :pep:`3107` and
:pep:`484` for more information).
Annotations are stored in the :attr:`__annotations__` attribute of the function
as a dictionary and have no effect on any other part of the function. Parameter