Open shindavid opened 2 years ago
The following code...
import redbaron rb = redbaron.RedBaron('func = print if True else print') print(rb.dumps())
...produces the following output:
func = printif True else print
Note that the space between the print and the if has been removed.
print
if
This bug does not occur if the the word print is replaced with foo.
foo
The following code...
...produces the following output:
Note that the space between the
print
and theif
has been removed.This bug does not occur if the the word
print
is replaced withfoo
.