bpo-35566: Add links to annotation glossary term (GH-11291)

This commit is contained in:
Cheryl Sabella 2018-12-24 00:09:09 -05:00 committed by Raymond Hettinger
parent d378b1f8ed
commit b7105c9c96
4 changed files with 11 additions and 11 deletions

View file

@ -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.