Skip to content

Commit 4ae828f

Browse files
authored
Fix invalid markup (python#25833)
1 parent e08059e commit 4ae828f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ Module contents
443443
pseudo-field with the type of :const:`KW_ONLY` are marked as
444444
keyword-only fields. Note that a pseudo-field of type
445445
:const:`KW_ONLY` is otherwise completely ignored. This includes the
446-
name of such a field. By convention, a name of `_` is used for a
446+
name of such a field. By convention, a name of ``_`` is used for a
447447
:const:`KW_ONLY` field. Keyword-only fields signify
448448
:meth:`__init__` parameters that must be specified as keywords when
449449
the class is instantiated.
@@ -683,4 +683,3 @@ Mutable default values
683683
x: list = field(default_factory=list)
684684

685685
assert D().x is not D().x
686-

0 commit comments

Comments
 (0)