Trivial update of doctests

This commit is contained in:
Miroslav Stampar
2021-02-08 11:46:19 +01:00
parent 3724a53466
commit af3b79ff8b
3 changed files with 5 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ def cachedmethod(f):
>>> __ = cachedmethod(lambda _: _)
>>> __(1)
1
>>> __(1)
1
>>> __ = cachedmethod(lambda *args, **kwargs: args[0])
>>> __(2)
2