diff options
author | Jeff Hammel <jhammel@mozilla.com> | 2013-12-16 20:00:47 -0800 |
---|---|---|
committer | Jeff Hammel <jhammel@mozilla.com> | 2013-12-16 20:00:47 -0800 |
commit | 7e1791104399fae510230fc120cd0e18bc66d4bc (patch) | |
tree | d72bc48b5f5605db57529ea1034710fb229f5e11 /docs | |
parent | 80da35b68de4f8fed0cf6585aafbc3d017ae42e0 (diff) | |
download | tempita-7e1791104399fae510230fc120cd0e18bc66d4bc.tar.gz |
https://bitbucket.org/ianb/tempita/issue/7/misspelling-of-delimiters-in
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/index.txt b/docs/index.txt index 5564e71..a44ae57 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -149,13 +149,13 @@ If you want to have ``{{`` or ``}}`` in your template, you must use the built-in variables like ``{{start_braces}}`` and ``{{end_braces}}``. There's no escape character. -You may also specify the delimeters as an argument to the Template +You may also specify the delimiters as an argument to the Template __init__ method: - >>> tempita.Template(content='Hello ${name}', delimeters=('${', '}')).substitute(name='world') + >>> tempita.Template(content='Hello ${name}', delimiters=('${', '}')).substitute(name='world') 'Hello world' -The delimeters argument must be of length two and both items must be strings. +The delimiters argument must be of length two and both items must be strings. None, as a special case, is substituted as the empty string. |