]> 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:12:32 +0000 (12:12 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 11 Jan 2013 10:12:32 +0000 (12:12 +0200)
commit9942e5a9cf4054591134e2495d50615faebe3662
treef1d5e4ffc6e4accdce9c041d2342ed59612f46ea
parent14af64fb381684827da63ab8fc25fdc94010ef71
parent40ce22edb5358cf8642de0faa2c53321dddf5961
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.
Misc/NEWS
Tools/scripts/pindent.py