diff options
| author | Philip Jenvey <pjenvey@underboss.org> | 2013-08-15 15:57:14 -0700 |
|---|---|---|
| committer | Philip Jenvey <pjenvey@underboss.org> | 2013-08-15 15:57:14 -0700 |
| commit | edfc4f80a1240f6f5f0c41e53078a8f5d305075f (patch) | |
| tree | 4059af6880d0f7f50b68b7407b0381262eb4ace7 /docs/narr/extconfig.rst | |
| parent | cc574a90d183f8f5a74360cec1658028da584c15 (diff) | |
| download | pyramid-edfc4f80a1240f6f5f0c41e53078a8f5d305075f.tar.gz pyramid-edfc4f80a1240f6f5f0c41e53078a8f5d305075f.tar.bz2 pyramid-edfc4f80a1240f6f5f0c41e53078a8f5d305075f.zip | |
prefer the functionish print
Diffstat (limited to 'docs/narr/extconfig.rst')
| -rw-r--r-- | docs/narr/extconfig.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/extconfig.rst b/docs/narr/extconfig.rst index 659056952..6587aef92 100644 --- a/docs/narr/extconfig.rst +++ b/docs/narr/extconfig.rst @@ -55,7 +55,7 @@ method of the Configurator: :linenos: def mysubscriber(event): - print event.request + print(event.request) config.add_newrequest_subscriber(mysubscriber) @@ -79,7 +79,7 @@ able to install it and subsequently do: :linenos: def mysubscriber(event): - print event.request + print(event.request) from pyramid.config import Configurator config = Configurator() |
