diff options
author | Jeff Hammel <jhammel@mozilla.com> | 2011-08-28 10:44:25 -0700 |
---|---|---|
committer | Jeff Hammel <jhammel@mozilla.com> | 2011-08-28 10:44:25 -0700 |
commit | 837e4c4aee562764a19ad05510a394924c597972 (patch) | |
tree | 3e9a75788c15e2b8316d7554648c2f6ae5118c7c | |
parent | 9fc08ac7b3182290512dda227e6b258dd09edd6d (diff) | |
download | tempita-837e4c4aee562764a19ad05510a394924c597972.tar.gz |
fix failing test
-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. |