Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d19fa9

Browse filesBrowse 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 <neerajbadlani@gmail.com>
1 parent 38e8936 commit 0d19fa9
Copy full SHA for 0d19fa9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎Doc/tutorial/controlflow.rst

Copy file name to clipboardExpand all lines: Doc/tutorial/controlflow.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.