Skip to content

Commit 592f9d0

Browse files
committed
And type fix again
1 parent df9cfd8 commit 592f9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checkmember.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ def analyze_enum_class_attribute_access(
13491349
return None
13501350

13511351
node = itype.type.get(name)
1352-
if node.type:
1352+
if node and node.type:
13531353
proper = get_proper_type(node.type)
13541354
# Support `A = nonmember(1)` function call and decorator.
13551355
if (

0 commit comments

Comments
 (0)