Skip to content

Commit db76d51

Browse files
committed
Fix API reference
Ref #1162
1 parent b6cd5a0 commit db76d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ Please note that true immutability is impossible in Python but it will [get](how
624624
By themselves, immutable classes are useful for long-lived objects that should never change; like configurations for example.
625625

626626
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`:
628628

629629
```{doctest}
630630
>>> from attrs import evolve, frozen

0 commit comments

Comments
 (0)