Skip to content

Commit 4e363d3

Browse files
committed
fix merge
1 parent 04b2c3c commit 4e363d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@ def find_isinstance_check(node: Expression,
27202720
return conditional_type_map(expr, vartype, type)
27212721
elif refers_to_fullname(node.callee, 'builtins.issubclass'):
27222722
expr = node.args[0]
2723-
if expr.literal == LITERAL_TYPE:
2723+
if literal(expr) == LITERAL_TYPE:
27242724
vartype = type_map[expr]
27252725
type = get_isinstance_type(node.args[1], type_map)
27262726
if isinstance(vartype, UnionType):

0 commit comments

Comments
 (0)