summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2018-12-24 05:09:09 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-12-24 05:09:09 (GMT)
commitb7105c9c9663637e4500bfcac75c911e78d9a1c0 (patch)
tree05bafc47ad9fd747c9ca73a762225b7788e641d8 /Doc/library
parentd378b1f8ed7919f65a89f026bc899204be3773d4 (diff)
downloadcpython-b7105c9c9663637e4500bfcac75c911e78d9a1c0.zip
cpython-b7105c9c9663637e4500bfcac75c911e78d9a1c0.tar.gz
cpython-b7105c9c9663637e4500bfcac75c911e78d9a1c0.tar.bz2
bpo-35566: Add links to annotation glossary term (GH-11291)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dataclasses.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 072a500..db5c3e0 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -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.