mirror of
https://github.com/python/cpython.git
synced 2025-11-24 12:20:42 +00:00
[3.14] GH-101100: Remove some entries from `nitpick_ignore` (GH-138464) (#138683)
* GH-101100: Remove some entries from ``nitpick_ignore`` (GH-138464)
(cherry picked from commit 22cb9ba8f9)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Update check-warnings.py
---------
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
dee3428120
commit
829c81ae21
18 changed files with 33 additions and 34 deletions
|
|
@ -1074,7 +1074,7 @@ Function Annotations
|
|||
information about the types used by user-defined functions (see :pep:`3107` and
|
||||
:pep:`484` for more information).
|
||||
|
||||
:term:`Annotations <function annotation>` are stored in the :attr:`!__annotations__`
|
||||
:term:`Annotations <function annotation>` are stored in the :attr:`~object.__annotations__`
|
||||
attribute of the function as a dictionary and have no effect on any other part of the
|
||||
function. Parameter annotations are defined by a colon after the parameter name, followed
|
||||
by an expression evaluating to the value of the annotation. Return annotations are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue