Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbubbles committed Nov 23, 2024
1 parent d20f8b7 commit 17ee487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/ast/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ def validate(self):
self.value,
hint="did you forget parentheses?",
)
if hasattr(self.value.func, 'attr') and self.value.func.attr == "__default__":
if hasattr(self.value.func, "attr") and self.value.func.attr == "__default__":
raise ValueError("function __default__ cannot be called")


Expand Down

0 comments on commit 17ee487

Please sign in to comment.