From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Sat, 17 May 2025 08:00:13 +0000 (+0200) Subject: gh-113878: fix `versionadded` in `dataclasses.field()` documentation (#134065) X-Git-Tag: v3.15.0a1~1694 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d73875072e20bf3cc87cadc553d6a6fb4f71df5;p=thirdparty%2FPython%2Fcpython.git gh-113878: fix `versionadded` in `dataclasses.field()` documentation (#134065) --- diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 72612211b43d..f18c7cc9c02d 100644 --- a/Doc/library/dataclasses.rst +++ b/Doc/library/dataclasses.rst @@ -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