mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
caching doc
This commit is contained in:
parent
81d35686d9
commit
3e91ea497d
1 changed files with 1 additions and 1 deletions
|
|
@ -109,5 +109,5 @@ class Cache_this(object):
|
|||
self.c = Cacher(f, self.limit, ignore_args=self.ignore_args, force_kwargs=self.force_args)
|
||||
return self.c(*args, **kw)
|
||||
f_wrap._cacher = self
|
||||
f_wrap.__doc__ = "**cached**\n\n" + (f.__doc__ or "")
|
||||
f_wrap.__doc__ = "**cached**" + (f.__doc__ or "")
|
||||
return f_wrap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue