mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-113878: fix versionadded
in dataclasses.field()
documentation (#134065)
This commit is contained in:
parent
c1c9ad1d5a
commit
9d73875072
1 changed files with 2 additions and 2 deletions
|
@ -304,9 +304,9 @@ Module contents
|
||||||
|
|
||||||
.. versionadded:: 3.10
|
.. versionadded:: 3.10
|
||||||
|
|
||||||
- ``doc``: optional docstring for this field.
|
- *doc*: optional docstring for this field.
|
||||||
|
|
||||||
.. versionadded:: 3.13
|
.. versionadded:: 3.14
|
||||||
|
|
||||||
If the default value of a field is specified by a call to
|
If the default value of a field is specified by a call to
|
||||||
:func:`!field`, then the class attribute for this field will be
|
:func:`!field`, then the class attribute for this field will be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue