]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Running the program through itself reveals that one end tag was
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 22:55:20 +0000 (22:55 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 22:55:20 +0000 (22:55 +0000)
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!)

Tools/scripts/pindent.py

index 397926820207dc503714b810e706eec83dfaf9aa..1c27b131748d2eaa70929bc4bc5800aaaff94dd8 100755 (executable)
@@ -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):