diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-04-28 18:02:01 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-04-30 20:45:03 +0200 |
| commit | 596cb9c7e287abbb98c64974fb4944d522cb6b5a (patch) | |
| tree | e8ad5402dd233458b392d1822146bb1102ba74a6 /docs/ref/templates/api.txt | |
| parent | fe43ad5707d116bb1729bc17a24ca16c90ae040d (diff) | |
Replaced print statement by print function (forward compatibility syntax).
Diffstat (limited to 'docs/ref/templates/api.txt')
| -rw-r--r-- | docs/ref/templates/api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 134f90c38c..aece572e07 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -69,7 +69,7 @@ takes one argument -- the raw template code:: >>> from django.template import Template >>> t = Template("My name is {{ my_name }}.") - >>> print t + >>> print(t) <django.template.Template instance> .. admonition:: Behind the scenes |
