Skip to content

Commit db42832

Browse files
Don't cache decoratornames
It takes a context argument.
1 parent 91fd7b9 commit db42832

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

astroid/nodes/scoped_nodes/scoped_nodes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,6 @@ def is_method(self) -> bool:
15861586
self.parent.frame(future=True), ClassDef
15871587
)
15881588

1589-
@decorators_mod.cached
15901589
def decoratornames(self, context: InferenceContext | None = None):
15911590
"""Get the qualified names of each of the decorators on this function.
15921591

0 commit comments

Comments
 (0)