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/topics/http/urls.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/topics/http') diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index ee1d4e8616..2f272c5095 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -964,7 +964,7 @@ information about the URL pattern that matches a URL:: # Resolve a URL match = resolve('/some/path/') # Print the URL pattern that matches the URL - print match.url_name + print(match.url_name) A :class:`ResolverMatch` object can also be assigned to a triple:: -- cgit v1.3