New submission from Terry J. Reedy <tjre...@udel.edu>:

As reported by Miles Kaufmann on python-list, 
Tools/Scripts/pindent.py
has not been updated to support 'with' blocks.

I suspect that it would be sufficient to add ",'with'" to
start = 'if', 'while', 'for', 'try', 'def', 'class'

Since there are no "next['def'/'class']" lines, I suspect none is needed
for 'with' either.

----------
components: Demos and Tools
messages: 92622
nosy: tjreedy
severity: normal
status: open
title: Add 'with' block support to Tools/Scripts/pindent.py
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6912>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to