From 596cb9c7e287abbb98c64974fb4944d522cb6b5a Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 28 Apr 2012 18:02:01 +0200 Subject: Replaced print statement by print function (forward compatibility syntax). --- docs/ref/templates/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref/templates/api.txt') 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) .. admonition:: Behind the scenes -- cgit v1.3