Skip to content

Commit 24307a2

Browse files
authored
Update 2026-02-07-16-37-42.gh-issue-144475.8tFEXw.rst
1 parent a004007 commit 24307a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Fixed a bug in :meth:`functools.partial.__repr__` that could occur when ``fn``, ``args``,
2-
or ``kw`` are modified during a :func:`repr` call. Now, ``partial.__repr__``
3-
will use the original arguments when generating the return string.
1+
Fixed a bug in :func:`functools.partial` when calling :func:`repr` on a partial
2+
object that could occur when the ``fn``, ``args``, or ``kw`` arguments are modified
3+
during a call to :func:`repr`. Now, calls to :func:`repr` will use the original
4+
arguments when generating the string representation of the partial object.
45
Subsequent calls will use the updated arguments instead.
5-

0 commit comments

Comments
 (0)