10000 gh-113878: fix `versionadded` in `dataclasses.field()` documentation … · python/cpython@9d73875 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d73875

Browse files
authored
gh-113878: fix versionadded in dataclasses.field() documentation (#134065)
1 parent c1c9ad1 commit 9d73875

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

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