Permalink
Browse files

Improved description

  • Loading branch information...
mitsuhiko committed Aug 12, 2010
1 parent 3051422 commit ad2734a2b453be98519445b93c78c29ca1a43b89
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.rst
View
@@ -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.