]> 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 09:59:59 +0000 (11:59 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Jan 2013 09:59:59 +0000 (11:59 +0200)
commit8cd7f82024c62ee6b8f3706f09dceba209331225
tree730a3471a7c89e53a252066fa215cce1783f4923
parent14091a6bcae3087e1202fbc7969ad2644d032688
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