Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Aug 22, 2023
1 parent cc91d4b commit d26db9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvex/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def replace_expression(self, replacements):
v = getattr(self, k)
if isinstance(v, IRExpr) and v in replacements:
setattr(self, k, replacements.get(v))
elif type(v) is list:
elif isinstance(v, list):
# Replace the instance in the list
for i, expr_ in enumerate(v):
if isinstance(expr_, IRExpr) and expr_ in replacements:
Expand Down

0 comments on commit d26db9e

Please sign in to comment.