summaryrefslogtreecommitdiff
path: root/docs/narr/hooks.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-08-16 09:20:43 +0200
committerChris McDonough <chrism@plope.com>2013-08-16 09:20:43 +0200
commitbedddda9e128bd4497ddfa1122ea06288ee1c58f (patch)
tree4059af6880d0f7f50b68b7407b0381262eb4ace7 /docs/narr/hooks.rst
parent5aab1e9c2aebbbb0e955a34067db9a196d430a0c (diff)
parentedfc4f80a1240f6f5f0c41e53078a8f5d305075f (diff)
downloadpyramid-bedddda9e128bd4497ddfa1122ea06288ee1c58f.tar.gz
pyramid-bedddda9e128bd4497ddfa1122ea06288ee1c58f.tar.bz2
pyramid-bedddda9e128bd4497ddfa1122ea06288ee1c58f.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/hooks.rst')
-rw-r--r--docs/narr/hooks.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 37a74b53a..3a2568775 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -291,7 +291,7 @@ actually execute the function until accessed.
return sum(args)
def prop(request):
- print "getting the property"
+ print("getting the property")
return "the property"
config = Configurator()
@@ -332,7 +332,7 @@ Here is an example of passing a class to ``Configurator.add_request_method``:
# use @property if you don't want to cache the result
@reify
def prop(self):
- print "getting the property"
+ print("getting the property")
return "the property"
config = Configurator()