Unverified Kaydet (Commit) 0d19fa91 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) GitHub

Mention both relevant PEPs in function annotations tutorial (GH-6304)


Patch by Neeraj Badlani.
(cherry picked from commit 643ff711)
Co-authored-by: 's avatarNeeraj Badlani <neerajbadlani@gmail.com>
üst 38e8936e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment