summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-03-10 08:22:47 (GMT)
committerGeorg Brandl <georg@python.org>2012-03-10 08:22:47 (GMT)
commit64a40949cf564a690b0263d9b0c18204bceff233 (patch)
treee76e5db2759f875d1e24dd27d6e9a2da628e96a4
parent065dedaf474279e5c598ba23216887212e9fd29e (diff)
downloadcpython-64a40949cf564a690b0263d9b0c18204bceff233.zip
cpython-64a40949cf564a690b0263d9b0c18204bceff233.tar.gz
cpython-64a40949cf564a690b0263d9b0c18204bceff233.tar.bz2
Closes #14186: add link to PEP 3107 (function annotations) to the function definition section.
-rw-r--r--Doc/reference/compound_stmts.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index aea08e0..4ce7324 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -535,6 +535,11 @@ returned or passed around. Free variables used in the nested function can
access the local variables of the function containing the def. See section
:ref:`naming` for details.
+.. seealso::
+
+ :pep:`3107` - Function Annotations
+ The original specification for function annotations.
+
.. _class: