@@ -1897,7 +1897,7 @@ cdef class CachedMethodCaller(CachedFunction):
18971897 sage: a.f(5) is a.f(y=1,x=5)
18981898 True
18991899
1900- The method can be called as a unbound function using the same cache::
1900+ The method can be called as an unbound function using the same cache::
19011901
19021902 sage: a.f(5) is Foo.f(a, 5)
19031903 True
@@ -1955,7 +1955,7 @@ cdef class CachedMethodCaller(CachedFunction):
19551955 True
19561956 """
19571957 if self ._instance is None :
1958- # cached method bound to a class i.e. unbound method, such as ``Foo.f``
1958+ # unbound cached method such as ``Foo.f``
19591959 instance = args[0 ]
19601960 args = args[1 :]
19611961 return self ._cachedmethod.__get__ (instance)(* args, ** kwds)
@@ -2002,7 +2002,7 @@ cdef class CachedMethodCaller(CachedFunction):
20022002 5
20032003 """
20042004 if self ._instance is None :
2005- # cached method bound to a class i.e. unbound method, such as ``CachedMethodTest.f``
2005+ # unbound cached method such as ``CachedMethodTest.f``
20062006 instance = args[0 ]
20072007 args = args[1 :]
20082008 return self ._cachedmethod.__get__ (instance).cached(* args, ** kwds)
@@ -2654,8 +2654,8 @@ cdef class CachedMethod():
26542654 sage: a.f0()
26552655 4
26562656
2657- For methods with parameters, computations in method ``f`` are
2658- tried to store in a dictionary assigned to the instance ``a``::
2657+ For methods with parameters, the results of method ``f`` is attempted
2658+ to be stored in a dictionary attribute of the instance ``a``::
26592659
26602660 sage: hasattr(a, '_cache__f')
26612661 True
0 commit comments