Skip to content

Commit

Permalink
Add pro-tip
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Dec 14, 2024
1 parent 9c8d3d5 commit 48f972a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/attr/_make.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,10 @@ def evolve(*args, **changes):
Create a new instance, based on the first positional argument with
*changes* applied.
.. tip::
On Python 3.13 and later, you can also use `copy.replace` instead.
Args:
inst:
Expand Down

0 comments on commit 48f972a

Please sign in to comment.