From 56998dce941c2ecced72f2923e90c0c54935b7ec Mon Sep 17 00:00:00 2001 From: Neeraj Badlani Date: Thu, 29 Mar 2018 00:29:49 -0700 Subject: [PATCH] Update Function Annotations Doc with correct PEP Added PEP 3107 to Funtions Annotations Documentation in tutorial/controlflow.rst --- Doc/tutorial/controlflow.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 30ef159f8b369a..4bcdafd7335265 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -678,8 +678,8 @@ Function Annotations single: -> (return annotation assignment) :ref:`Function annotations ` 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