]> granicus.if.org Git - python/commit
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Jan 2013 10:04:23 +0000 (12:04 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Jan 2013 10:04:23 +0000 (12:04 +0200)
commit6840a54ad4e3de690b1acd45d4c7a0677fcc213e
tree8b8a1d1959ce2615d5621beb4c95aec09e256cb2
parent405079213b7b35145ec5a437cd8b99528c3e4841
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
Tools/scripts/pindent.py