summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-11-14 00:56:59 -0500
committerChris McDonough <chrism@plope.com>2012-11-14 00:56:59 -0500
commit3d2dd3e0ee13ccad97b48775d135d765b3d22195 (patch)
tree50b6d86e619c5a99a4cecf0aac1e8b1094e7df1e
parente70753d54b0603f03f787c653040377e0b45d5f7 (diff)
downloadpyramid-3d2dd3e0ee13ccad97b48775d135d765b3d22195.tar.gz
pyramid-3d2dd3e0ee13ccad97b48775d135d765b3d22195.tar.bz2
pyramid-3d2dd3e0ee13ccad97b48775d135d765b3d22195.zip
ref #725; indicate how to join the result of render_view_to_iterable
-rw-r--r--pyramid/view.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/view.py b/pyramid/view.py
index 021d6ff79..1a66c9e9c 100644
--- a/pyramid/view.py
+++ b/pyramid/view.py
@@ -94,8 +94,8 @@ def render_view_to_iterable(context, request, name='', secure=True):
:exc:`ValueError` if a view function is found and called but the
view function's result does not have an ``app_iter`` attribute.
- You can usually get the string representation of the return value
- of this function by calling ``''.join(iterable)``, or just use
+ You can usually get the bytestring representation of the return value of
+ this function by calling ``b''.join(iterable)``, or just use
:func:`pyramid.view.render_view` instead.
If ``secure`` is ``True``, and the view is protected by a permission, the