Skip to content

Commit

Permalink
Add more print rewrites, belongs to cfea895.
Browse files Browse the repository at this point in the history
  • Loading branch information
sallner committed Sep 29, 2016
1 parent 38f941d commit 472ea46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grokcore/view/tests/view/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
>>> request = TestRequest()
>>> from zope import component
>>> view = component.getMultiAdapter((manfred, request), name='painting')
>>> print view()
>>> print(view())
<html><body><h1>GROK PAINT MAMMOTH!</h1></body></html>
``grok.name`` and ``grok.template`` can be combined:
>>> view = component.getMultiAdapter((manfred, request), name='meal')
>>> print view()
>>> print(view())
<html><body><h1>GROK EAT MAMMOTH!</h1></body></html>
"""
Expand Down

0 comments on commit 472ea46

Please sign in to comment.