Commit 6323e1cf by Chris Jerdonek

Corrected the modifiers doctest.

parent ebb880d2
......@@ -27,7 +27,7 @@ class Modifiers(dict):
"""
Return a decorator that assigns the given function to the given key.
>>> modifiers = {}
>>> modifiers = Modifiers()
>>> @modifiers.set('P')
... def render_tongue(self, tag_name=None, context=None):
... return ":P %s" % tag_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment