diff options
author | Jeff Hammel <jhammel@mozilla.com> | 2013-12-19 20:10:31 -0800 |
---|---|---|
committer | Jeff Hammel <jhammel@mozilla.com> | 2013-12-19 20:10:31 -0800 |
commit | 265689672878f19a76629f361d5bc31d4cce403d (patch) | |
tree | 9de897844a195a6bee9228d0c529f633802f7ec7 | |
parent | b2ed245193c9380a323496b0288fd7ceb336fccc (diff) | |
download | tempita-265689672878f19a76629f361d5bc31d4cce403d.tar.gz |
compatability is hard
-rw-r--r-- | docs/index.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.txt b/docs/index.txt index cb6aeb9..092cebf 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -123,8 +123,8 @@ attribute. It will try to use that encoding whenever ``unicode`` and >>> if sys.version.startswith('2'): # unicode is the default in 3 -> failing test ... print (tmpl.substitute(name='Jos\xc3\xa9')) ... else: - ... print ('Hi José') # to satisfy doctest - Hi José + ... print ('Hi José') # to satisfy doctest + Hi José >>> tmpl = tempita.Template('Hi {{name}}') >>> print (tmpl.substitute(name=u'Jos\xe9')) Hi José |