Closed orlp closed 9 years ago
Trailing newline after list appends an empty tuple: https://pyth.herokuapp.com/?code=%5B%0A&debug=1 .
I'd say this is a bug.
It gets even weirder. Guess what this prints:
[ )1
That's right, [(), 1]! Shouldn't happen.
[(), 1]
Fixed with https://github.com/isaacg1/pyth/commit/4d86d27afd230ed24f5153389d5f59eeb8dd5485 .
Trailing newline after list appends an empty tuple: https://pyth.herokuapp.com/?code=%5B%0A&debug=1 .
I'd say this is a bug.