[Python-projects] Off-by-one error counting lines in a file

skip at pobox.com skip at pobox.com
Fri Oct 27 18:57:14 CEST 2006


I just happened to notice that pylint seems to count the number of lines in
a file incorrectly.  I get this error message:

    [C] Too many lines in module (1042)

Both XEmacs and the Unix wc command only count 1041 lines for that file.

-- 
Skip Montanaro - skip at pobox.com - http://www.mojam.com/
"The hippies and the hipsters did some great stuff in the sixties,
but the geeks pulled their weight too." -- Billy Bragg


More information about the Python-Projects mailing list