Skip to content

Commit

Permalink
document Python version support
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Jun 16, 2024
1 parent 9697313 commit ca36807
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/api/functools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ the ``__wrapped__`` callable may be wrapped with a new cache of different size.
.. versionchanged:: Python3.9
:py:func:`classmethod` properly wraps caches.

.. versionchanged:: Python3.13
:py:func:`classmethod` no longer wraps caches in a way that supports `cache_discard`.

.. versionadded:: 3.10.4

.. automethod:: cache_info() -> (hits=..., misses=..., maxsize=..., currsize=...)
Expand Down

0 comments on commit ca36807

Please sign in to comment.