diff options
| -rw-r--r-- | pyramid/view.py | 4 |
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 |
