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/webob.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/webob.rst')
| -rw-r--r-- | docs/narr/webob.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index c0ca450b1..f0a4b5a0b 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -287,7 +287,7 @@ When such a request reaches a view in your application, the @view_config(renderer='string') def aview(request): - print request.json_body + print(request.json_body) return 'OK' For the above view, printed to the console will be: |
