We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba79cb commit 3f71d6fCopy full SHA for 3f71d6f
mypy/checkmember.py
@@ -1221,6 +1221,9 @@ def analyze_class_attribute_access(
1221
is_classmethod = (is_decorated and cast(Decorator, node.node).func.is_class) or (
1222
isinstance(node.node, SYMBOL_FUNCBASE_TYPES) and node.node.is_class
1223
)
1224
+ is_staticmethod = (is_decorated and cast(Decorator, node.node).func.is_static) or (
1225
+ isinstance(node.node, SYMBOL_FUNCBASE_TYPES) and node.node.is_static
1226
+ )
1227
t = get_proper_type(t)
1228
is_trivial_self = False
1229
if isinstance(node.node, Decorator):
0 commit comments