[Python-checkins] CVS: python/dist/src/Tools/scripts pindent.py,1.7,1.8
Guido van Rossum
python-dev@python.org
2000年6月28日 15:55:23 -0700
Update of /cvsroot/python/python/dist/src/Tools/scripts
In directory slayer.i.sourceforge.net:/tmp/cvs-serv15635
Modified Files:
pindent.py
Log Message:
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!)
Index: pindent.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/scripts/pindent.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** pindent.py 2000年06月28日 22:47:22 1.7
--- pindent.py 2000年06月28日 22:55:20 1.8
***************
*** 341,345 ****
pi = PythonIndenter(input, output, stepsize, tabsize)
pi.reformat()
! # end def reformat
class StringReader:
--- 341,345 ----
pi = PythonIndenter(input, output, stepsize, tabsize)
pi.reformat()
! # end def reformat_filter
class StringReader: