diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/custom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom.py b/examples/custom.py index d4376fc4e..d7757dc78 100644 --- a/examples/custom.py +++ b/examples/custom.py @@ -61,7 +61,7 @@ class MyAstroidChecker(BaseChecker): and node.func.attrname == "create" ): return - in_class = node.frame() + in_class = node.frame(future=True) for param in node.args: in_class.locals[param.name] = node |