From da4e44acf75646440e92d2f7e57dcb5f481be794 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 22 Apr 2010 20:39:48 -0400 Subject: [PATCH] Add docstring to SCons.Scanner.LaTeX.canonical_text --- src/engine/SCons/Scanner/LaTeX.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/SCons/Scanner/LaTeX.py b/src/engine/SCons/Scanner/LaTeX.py index f43b19cf..6969d2be 100644 --- a/src/engine/SCons/Scanner/LaTeX.py +++ b/src/engine/SCons/Scanner/LaTeX.py @@ -281,6 +281,11 @@ class LaTeX(SCons.Scanner.Base): return i, include def canonical_text(self, text): + """Standardize an input TeX-file contents. + + Currently: + * removes comments, unwrapping comment-wrapped lines. + """ out = [] line_continues_a_comment = False for line in text.splitlines(): -- 2.26.2