Skip to content

Commit

Permalink
Improved description
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Aug 12, 2010
1 parent 3051422 commit ad2734a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Expand Up @@ -43,6 +43,8 @@ object, you can create your own subclass that does that::
from markupsafe import Markup, escape_silent as escape

class SilentMarkup(Markup):
__slots__ = ()

@classmethod
def escape(cls, s):
return cls(escape(s))

0 comments on commit ad2734a

Please sign in to comment.