Skip to content

Commit 9d109fa

Browse files
committed
Fix signature line in docs for cached_method
1 parent 30f839b commit 9d109fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ The :mod:`!functools` module defines the following functions:
123123

124124

125125
.. decorator:: cached_method(func)
126+
cached_method(maxsize=128, typed=False)
126127

127128
Decorator to wrap a method with a bounded or unbounded cache.
128129

0 commit comments

Comments
 (0)