We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08059e commit 4ae828fCopy full SHA for 4ae828f
Doc/library/dataclasses.rst
@@ -443,7 +443,7 @@ Module contents
443
pseudo-field with the type of :const:`KW_ONLY` are marked as
444
keyword-only fields. Note that a pseudo-field of type
445
: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
+ name of such a field. By convention, a name of ``_`` is used for a
447
:const:`KW_ONLY` field. Keyword-only fields signify
448
:meth:`__init__` parameters that must be specified as keywords when
449
the class is instantiated.
@@ -683,4 +683,3 @@ Mutable default values
683
x: list = field(default_factory=list)
684
685
assert D().x is not D().x
686
-
0 commit comments