mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-113878: fix versionadded in dataclasses.field() documentation (GH-134065) (#134128)
gh-113878: fix `versionadded` in `dataclasses.field()` documentation (GH-134065)
(cherry picked from commit 9d73875072)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
This commit is contained in:
parent
075cabb026
commit
851b26f4be
1 changed files with 2 additions and 2 deletions
|
|
@ -304,9 +304,9 @@ Module contents
|
|||
|
||||
.. 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
|
||||
:func:`!field`, then the class attribute for this field will be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue