]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-113878: fix `versionadded` in `dataclasses.field()` documentation (#134065)
authorVictorien <65306057+Viicos@users.noreply.github.com>
Sat, 17 May 2025 08:00:13 +0000 (10:00 +0200)
committerGitHub <noreply@github.com>
Sat, 17 May 2025 08:00:13 +0000 (10:00 +0200)
Doc/library/dataclasses.rst

index 72612211b43d5e77b902bb683a5ed98b5b9c8434..f18c7cc9c02da6b9e81030f1b29fcd87736b39c7 100644 (file)
@@ -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