Skip to content

Commit

Permalink
PY2-PY3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
sallner committed Sep 30, 2016
1 parent b74d752 commit 0281bc7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
>>> provider.request is request
True
>>> provider.render()
u'I provide some content for a view'
>>> print(provider.render())
I provide some content for a view
You can use the helper method render_provider to directly find and
render it:
>>> grok.render_provider(ctxt, request, view, 'a_content_provider')
u'I provide some content for a view'
>>> print(grok.render_provider(ctxt, request, view, 'a_content_provider'))
I provide some content for a view
"""

Expand Down

0 comments on commit 0281bc7

Please sign in to comment.