From fa4be093e5769abe19c153255ce475afb1b717bc Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 27 Jun 2024 14:22:37 +0300 Subject: [PATCH] Update Doc/whatsnew/3.13.rst Co-authored-by: T. Wouters --- Doc/whatsnew/3.13.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index d975d4373dce5f..4a9a0b77d068b3 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -2262,7 +2262,7 @@ Changes in the Python API returned by :meth:`zipfile.ZipFile.open` was changed from ``'r'`` to ``'rb'``. (Contributed by Serhiy Storchaka in :gh:`115961`.) -* :class:`functools.partial` emits now a :exc:`FutureWarning` when it is +* :class:`functools.partial` now emits a :exc:`FutureWarning` when it is used as a method. Its behavior will be changed in future Python versions. Wrap it in :func:`staticmethod` if you want to preserve the old behavior.