diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-28 19:31:41 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-28 19:31:41 (GMT) |
commit | 623b979553ae03ba5b2d5f60a668fbe288b2112d (patch) | |
tree | 83dae5c3048678713a0da15537a88419fc84827c /Lib/uu.py | |
parent | 8c996ef45859108faf4fec8773f7810eb5782282 (diff) | |
download | cpython-623b979553ae03ba5b2d5f60a668fbe288b2112d.zip cpython-623b979553ae03ba5b2d5f60a668fbe288b2112d.tar.gz cpython-623b979553ae03ba5b2d5f60a668fbe288b2112d.tar.bz2 |
Fix some shallow bugs in Demo/parser/unparse.py, and add tests:
- insert commas between entries in del statement
- left and right shifts were represented as >> and << (respectively); reverse
- unindent properly after for: else: or while: else:
- add parens around the result of an unary operation
- add parens around negative numbers, to avoid turning (-1)**2 into -1**2.
Diffstat (limited to 'Lib/uu.py')
0 files changed, 0 insertions, 0 deletions