Mercurial > genshi > mirror
comparison genshi/core.py @ 377:9aa6aa18fa35 trunk
Add `Attrs` class to `genshi.core.__all__`, so that it can be imported directly from the `genshi` package.
author | cmlenz |
---|---|
date | Thu, 23 Nov 2006 12:36:43 +0000 |
parents | 2aa7ca37ae6a |
children | 2682dabbcd04 |
comparison
equal
deleted
inserted
replaced
376:0e0952d85d97 | 377:9aa6aa18fa35 |
---|---|
15 | 15 |
16 import htmlentitydefs | 16 import htmlentitydefs |
17 import operator | 17 import operator |
18 import re | 18 import re |
19 | 19 |
20 __all__ = ['Stream', 'Markup', 'escape', 'unescape', 'Namespace', 'QName'] | 20 __all__ = ['Stream', 'Markup', 'escape', 'unescape', 'Attrs', 'Namespace', |
21 'QName'] | |
21 | 22 |
22 | 23 |
23 class StreamEventKind(str): | 24 class StreamEventKind(str): |
24 """A kind of event on an XML stream.""" | 25 """A kind of event on an XML stream.""" |
25 __slots__ = [] | 26 __slots__ = [] |