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

Patch by Neeraj Badlani.
(cherry picked from commit 643ff711fa)

Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-04-25 11:04:49 -07:00 committed by GitHub
parent 52a5a17338
commit 1985849fe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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