From: Guido van Rossum Date: Wed, 28 Jun 2000 22:55:20 +0000 (+0000) Subject: Running the program through itself reveals that one end tag was X-Git-Tag: v2.0b1~1326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a04ff0fb53913b1c821dac4278331728dbdbfe51;p=thirdparty%2FPython%2Fcpython.git Running the program through itself reveals that one end tag was mislabeled. (Using -c and then -e rearranges some comments, so I won't check that in -- but it's a good test anyway. Note that pindent is not perfect -- e.g. it doesn't know about triple-quoted strings!) --- diff --git a/Tools/scripts/pindent.py b/Tools/scripts/pindent.py index 397926820207..1c27b131748d 100755 --- a/Tools/scripts/pindent.py +++ b/Tools/scripts/pindent.py @@ -340,7 +340,7 @@ def reformat_filter(input = sys.stdin, output = sys.stdout, stepsize = STEPSIZE, tabsize = TABSIZE): pi = PythonIndenter(input, output, stepsize, tabsize) pi.reformat() -# end def reformat +# end def reformat_filter class StringReader: def __init__(self, buf):