Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d19fa9

Browse files
Mention both relevant PEPs in function annotations tutorial (GH-6304)
Patch by Neeraj Badlani. (cherry picked from commit 643ff71) Co-authored-by: Neeraj Badlani <[email protected]>
1 parent 38e8936 commit 0d19fa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/controlflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ Function Annotations
678678
single: -> (return annotation assignment)
679679

680680
:ref:`Function annotations <function>` are completely optional metadata
681-
information about the types used by user-defined functions (see :pep:`484`
682-
for more information).
681+
information about the types used by user-defined functions (see :pep:`3107` and
682+
:pep:`484` for more information).
683683

684684
Annotations are stored in the :attr:`__annotations__` attribute of the function
685685
as a dictionary and have no effect on any other part of the function. Parameter

0 commit comments

Comments
 (0)