summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <classic@zzzcomputing.com>2014-11-26 13:43:03 -0500
committerMike Bayer <classic@zzzcomputing.com>2014-11-26 13:43:03 -0500
commit756e7da0afda60365bc29a9497a8f3b7a8b10cb9 (patch)
treed9aa1a32abb077805f5f3214dab08a32dc0eada6
parent285bc818a50ccc0f9549630f7c4f4c250585c3e7 (diff)
parent5e8814c5f9acf3ab6b130c59af9d900441b58aed (diff)
downloadmako-756e7da0afda60365bc29a9497a8f3b7a8b10cb9.tar.gz
Merged in marcpare/mako (pull request #10)
Fix error in docstring
-rw-r--r--mako/ext/preprocessors.py2
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)