File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ Please note that true immutability is impossible in Python but it will [get](how
624
624
By themselves, immutable classes are useful for long-lived objects that should never change; like configurations for example.
625
625
626
626
In order to use them in regular program flow, you'll need a way to easily create new instances with changed attributes.
627
- In Clojure that function is called [ assoc] ( https://clojuredocs.org/clojure.core/assoc ) and * attrs* shamelessly imitates it: ` attr .evolve` :
627
+ In Clojure that function is called [ * assoc* ] ( https://clojuredocs.org/clojure.core/assoc ) and * attrs* shamelessly imitates it: {func} ` attrs .evolve` :
628
628
629
629
``` {doctest}
630
630
>>> from attrs import evolve, frozen
You can’t perform that action at this time.
0 commit comments