Skip to content

Commit 192ff1e

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
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.
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.
55
Subsequent calls will use the updated arguments instead.
6+

0 commit comments

Comments
 (0)