Skip to content

Commit 64a4094

Browse files
committed
Closes python#14186: add link to PEP 3107 (function annotations) to the function definition section.
1 parent 065deda commit 64a4094

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/reference/compound_stmts.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,11 @@ returned or passed around. Free variables used in the nested function can
535535
access the local variables of the function containing the def. See section
536536
:ref:`naming` for details.
537537

538+
.. seealso::
539+
540+
:pep:`3107` - Function Annotations
541+
The original specification for function annotations.
542+
538543

539544
.. _class:
540545

0 commit comments

Comments
 (0)