Fix invalid markup (#25833)

This commit is contained in:
Raymond Hettinger 2021-05-02 21:07:29 -07:00 committed by GitHub
parent e08059edef
commit 4ae828f3c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

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