8000 [3.14] gh-113878: fix `versionadded` in `dataclasses.field()` documen… · python/cpython@851b26f · GitHub
[go: up one dir, main page]

Skip to content

Commit 851b26f

Browse files
[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 9d73875) Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
1 parent 075cabb commit 851b26f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/dataclasses.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ Module contents
304304< 7DF4 /td>

305305
.. versionadded:: 3.10
306306

307-
- ``doc``: optional docstring for this field.
307+
- *doc*: optional docstring for this field.
308308

309-
.. versionadded:: 3.13
309+
.. versionadded:: 3.14
310310

311311
If the default value of a field is specified by a call to
312312
:func:`!field`, then the class attribute for this field will be

0 commit comments

Comments
 (0)
0