shairubin / fun_with_ast

let's have fun manipulating ASTs in Python
Apache License 2.0
0 stars 1 forks source link

elif code fails to match (after insert?) #284

Closed shairubin closed 2 months ago

shairubin commented 2 months ago

def argument(): should_default = not is_out if isinstance(a, Argument): if True: pass return [] elif False: if should_default: default = "{}"

shairubin commented 2 months ago

unable to reproduce added 3 tests