]> granicus.if.org Git - python/commit
Peter Schneider-Kamp:
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 22:47:22 +0000 (22:47 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 22:47:22 +0000 (22:47 +0000)
commit59811b189d1b2ac60bad1d2b2bd84437f13a455f
tree85d55d262f72d476c9604c01b8518ffd5e2af780
parentcc6a438d7f33749859653d12ab963b014b1458bd
Peter Schneider-Kamp:

Problem:
A Python program can be completed and reformatted using
Tools/scripts/pindent.py. Unfortunately there is no option for removal
of the generated "# end"-tags.  Although a few Python commands or a
"grep -v '# end '" can do wonders here, there are two drawbacks:
- not everyone has grep/time to write a Python script
- it is not checked whether the "# end"-tags were used validly

Solution:
add extra option "-e" (eliminate) to pindent.py
Tools/scripts/pindent.py