summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNeeraj Badlani <neerajbadlani@gmail.com>2018-04-25 17:52:13 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2018-04-25 17:52:13 (GMT)
commit643ff711faf417fc3428897dc7d36250ad2cb0e5 (patch)
tree26d41e44b381c5c6039884a6550aa4b58b6d89ff /Doc
parentd6ef6db9ff780efb2cd502a54ca208afbe84af9c (diff)
downloadcpython-643ff711faf417fc3428897dc7d36250ad2cb0e5.zip
cpython-643ff711faf417fc3428897dc7d36250ad2cb0e5.tar.gz
cpython-643ff711faf417fc3428897dc7d36250ad2cb0e5.tar.bz2
Mention both relevant PEPs in function annotations tutorial (GH-6304)
Patch by Neeraj Badlani.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/controlflow.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 30ef159..4bcdafd 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -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