Skip to content

Commit 48f972a

Browse files
committed
Add pro-tip
1 parent 9c8d3d5 commit 48f972a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/attr/_make.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,10 @@ def evolve(*args, **changes):
571571
Create a new instance, based on the first positional argument with
572572
*changes* applied.
573573
574+
.. tip::
575+
576+
On Python 3.13 and later, you can also use `copy.replace` instead.
577+
574578
Args:
575579
576580
inst:

0 commit comments

Comments
 (0)