mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-35566: Add links to annotation glossary term (GH-11291)
This commit is contained in:
parent
d378b1f8ed
commit
b7105c9c96
4 changed files with 11 additions and 11 deletions
|
@ -51,9 +51,9 @@ Module-level decorators, classes, and functions
|
|||
|
||||
The :func:`dataclass` decorator examines the class to find
|
||||
``field``\s. A ``field`` is defined as class variable that has a
|
||||
type annotation. With two exceptions described below, nothing in
|
||||
:func:`dataclass` examines the type specified in the variable
|
||||
annotation.
|
||||
:term:`type annotation <variable annotation>`. With two
|
||||
exceptions described below, nothing in :func:`dataclass`
|
||||
examines the type specified in the variable annotation.
|
||||
|
||||
The order of the fields in all of the generated methods is the
|
||||
order in which they appear in the class definition.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue