Skip to content

Commit 365c484

Browse files
Apply suggestion from @StanFromIreland
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 06c2b18 commit 365c484

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The :mod:`!functools` module defines the following functions:
150150
On instances, :func:`cached_method` behaves very similarly to :func:`cache`,
151151
providing :func:`!cache_info` and :func:`!cache_clear`.
152152

153-
The *cached_method* does not prevent all possible race conditions in
153+
:func:`cached_method` does not prevent all possible race conditions in
154154
multi-threaded usage. The function could run more than once on the
155155
same instance, with the same inputs, with the latest run setting the cached
156156
value. The per-instance cache is lazily initialized on first access (via the

0 commit comments

Comments
 (0)