Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
643ff711
Commit
643ff711
authored
Apr 25, 2018
by
Neeraj Badlani
Committed by
Zachary Ware
Apr 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention both relevant PEPs in function annotations tutorial (GH-6304)
Patch by Neeraj Badlani.
parent
d6ef6db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/tutorial/controlflow.rst
Doc/tutorial/controlflow.rst
+2
-2
No files found.
Doc/tutorial/controlflow.rst
View file @
643ff711
...
...
@@ -678,8 +678,8 @@ Function Annotations
single: -> (return annotation assignment)
:ref:`Function annotations <function>` 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment