]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Jan 2013 10:10:57 +0000 (12:10 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Jan 2013 10:10:57 +0000 (12:10 +0200)
commit40ce22edb5358cf8642de0faa2c53321dddf5961
tree7c46f979ee7ae1e6f03163c05b1ab6016f45f29b
parent5a4b03dd8207cabbcaccbc9d6a1ee4856dd793f0
parent6840a54ad4e3de690b1acd45d4c7a0677fcc213e
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
Lib/test/test_tools.py
Misc/NEWS