summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2021-05-03 04:07:29 (GMT)
committerGitHub <noreply@github.com>2021-05-03 04:07:29 (GMT)
commit4ae828f3c0e8548939161ef3b6154e9c3122d812 (patch)
treec3405b5c1facce29524f391dfcbeba9c576c4c5f /Doc
parente08059edef3be07ada3058d68ad2c9cc13b7418e (diff)
downloadcpython-4ae828f3c0e8548939161ef3b6154e9c3122d812.zip
cpython-4ae828f3c0e8548939161ef3b6154e9c3122d812.tar.gz
cpython-4ae828f3c0e8548939161ef3b6154e9c3122d812.tar.bz2
Fix invalid markup (#25833)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dataclasses.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 1a7fed9..e3b01d3 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -443,7 +443,7 @@ Module contents
pseudo-field with the type of :const:`KW_ONLY` are marked as
keyword-only fields. Note that a pseudo-field of type
:const:`KW_ONLY` is otherwise completely ignored. This includes the
- name of such a field. By convention, a name of `_` is used for a
+ name of such a field. By convention, a name of ``_`` is used for a
:const:`KW_ONLY` field. Keyword-only fields signify
:meth:`__init__` parameters that must be specified as keywords when
the class is instantiated.
@@ -683,4 +683,3 @@ Mutable default values
x: list = field(default_factory=list)
assert D().x is not D().x
-