Closed asottile closed 5 years ago
I agree this code is weird, but it still shouldn't break this:
def f(): x = 'hi' raise(AttributeError(hi))
--- t.py (original) +++ t.py (refactored) @@ -1,3 +1,3 @@ def f(): x = 'hi' - raise(AttributeError(hi)) + raise AttributeError
dupe of #180
I agree this code is weird, but it still shouldn't break this: