diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2016-07-23 22:04:55 +0300 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-07-23 22:05:43 +0300 |
| commit | 72e3802ad1159a141ab97f3a64d98b2bc2ff2f5e (patch) | |
| tree | 17aa171d44cc0f7d8b773d5d96065b05b22d435f | |
| parent | 1e0c39067a69841478605f05fc40aa434b2f2ed4 (diff) | |
| download | astroid-git-72e3802ad1159a141ab97f3a64d98b2bc2ff2f5e.tar.gz | |
Add missing parameter to underlying bound method.
| -rw-r--r-- | astroid/brain/brain_functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/brain_functools.py b/astroid/brain/brain_functools.py index 7166a5b4..dc99c417 100644 --- a/astroid/brain/brain_functools.py +++ b/astroid/brain/brain_functools.py @@ -40,7 +40,7 @@ class LruWrappedModel(objectmodel.FunctionModel): @property def pycache_clear(self): - node = astroid.extract_node('''def cache_clear(): pass''') + node = astroid.extract_node('''def cache_clear(self): pass''') return objects.BoundMethod(proxy=node, bound=self._instance.parent.scope()) |
