Skip to content

Commit 70f47a4

Browse files
committed
Remove a duplicated paragraph
1 parent 3d79e3c commit 70f47a4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/sage/misc/cachefunc.pyx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,6 @@ approach is still needed for cpdef methods::
9797
sage: O.direct_method(5) is O.direct_method(5)
9898
True
9999
100-
In some cases, one would only want to keep the result in cache as long
101-
as there is any other reference to the result. By :issue:`12215`, this is
102-
enabled for :class:`~sage.structure.unique_representation.UniqueRepresentation`,
103-
which is used to create unique parents: If an algebraic structure, such
104-
as a finite field, is only temporarily used, then it will not stay in
105-
cache forever. That behaviour is implemented using ``weak_cached_function``,
106-
that behaves the same as ``cached_function``, except that it uses a
107-
:class:`~sage.misc.weak_dict.CachedWeakValueDictionary` for storing the results.
108-
109100
By :issue:`11115`, even if a parent does not allow attribute
110101
assignment, it can inherit a cached method from the parent class of a
111102
category (previously, the cache would have been broken)::

0 commit comments

Comments
 (0)