diff options
-rw-r--r-- | docs/index.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/index.txt b/docs/index.txt index 738f77a..5564e71 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -152,7 +152,8 @@ the built-in variables like ``{{start_braces}}`` and You may also specify the delimeters as an argument to the Template __init__ method: - >>> Template(content='Hello ${name}', delimeters=('${', '}')) + >>> tempita.Template(content='Hello ${name}', delimeters=('${', '}')).substitute(name='world') + 'Hello world' The delimeters argument must be of length two and both items must be strings. |