]> granicus.if.org Git - python/commitdiff
Mention both relevant PEPs in function annotations tutorial (GH-6304)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Apr 2018 18:04:49 +0000 (11:04 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Apr 2018 18:04:49 +0000 (11:04 -0700)
Patch by Neeraj Badlani.
(cherry picked from commit 643ff711faf417fc3428897dc7d36250ad2cb0e5)

Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com>
Doc/tutorial/controlflow.rst

index 30ef159f8b369aeb14aa9b14eaf4804d9688be1b..4bcdafd73352658fc517b0cc246e7289a0cef689 100644 (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