diff options
-rw-r--r-- | mako/ext/preprocessors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mako/ext/preprocessors.py b/mako/ext/preprocessors.py index 94569c5..6be1d2d 100644 --- a/mako/ext/preprocessors.py +++ b/mako/ext/preprocessors.py @@ -15,6 +15,6 @@ def convert_comments(text): example: from mako.ext.preprocessors import convert_comments - t = Template(..., preprocessor=preprocess_comments)""" + t = Template(..., preprocessor=convert_comments)""" return re.sub(r'(?<=\n)\s*#[^#]', "##", text) |