]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-134559: Add versionadded for ``object.__replace__()`` (GH-134672) (#134700)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 May 2025 10:29:53 +0000 (12:29 +0200)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 10:29:53 +0000 (10:29 +0000)
gh-134559: Add versionadded for ``object.__replace__()`` (GH-134672)
(cherry picked from commit 71290a6fbe79cef3773a3af6fcf08d8bf15c8460)

Co-authored-by: tmlnv <108088921+tmlnv@users.noreply.github.com>
Doc/library/copy.rst

index 95b41f988a035b8bd5d3c1809ff4ae7820b43f4e..210ad7188003e66b324bd01700c974373b0e7708 100644 (file)
@@ -122,6 +122,8 @@ and only supports named tuples created by :func:`~collections.namedtuple`,
    This method should create a new object of the same type,
    replacing fields with values from *changes*.
 
+   .. versionadded:: 3.13
+
 
 .. seealso::