diff options
| author | Chris McDonough <chrism@plope.com> | 2013-08-20 10:15:49 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-08-20 10:15:49 -0400 |
| commit | 70dbf740b5b3500edbcc4b2dff376f43e6250d79 (patch) | |
| tree | 4bd5335585247a0cc8154149a6c6765fabf10075 /docs/narr/hooks.rst | |
| parent | 0d37d81949bc82de1bd9c1193f282909f9576c3a (diff) | |
| parent | e64e71523d70261b551ba41f13f389ebf1324f1b (diff) | |
| download | pyramid-70dbf740b5b3500edbcc4b2dff376f43e6250d79.tar.gz pyramid-70dbf740b5b3500edbcc4b2dff376f43e6250d79.tar.bz2 pyramid-70dbf740b5b3500edbcc4b2dff376f43e6250d79.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/hooks.rst')
| -rw-r--r-- | docs/narr/hooks.rst | 4 |
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() |
