diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-03-05 12:37:02 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-03-05 12:37:02 +0100 |
commit | 8cf4b51fa4954393450f02cb38a5e60847eab8e5 (patch) | |
tree | 77d0865d17f9a2eec34df91d7129236396bc08a5 /Lib/xml/dom/__init__.py | |
parent | 6c75301eb6892170dcbea634b3be5cfa179c3d2e (diff) | |
download | cpython-git-8cf4b51fa4954393450f02cb38a5e60847eab8e5.tar.gz |
xml.dom.minidom: add more __slots__ to limit resource usage.
Diffstat (limited to 'Lib/xml/dom/__init__.py')
-rw-r--r-- | Lib/xml/dom/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/xml/dom/__init__.py b/Lib/xml/dom/__init__.py index 4401bdfcf3..97cf9a6429 100644 --- a/Lib/xml/dom/__init__.py +++ b/Lib/xml/dom/__init__.py @@ -17,6 +17,7 @@ pulldom -- DOM builder supporting on-demand tree-building for selected class Node: """Class giving the NodeType constants.""" + __slots__ = () # DOM implementations may use this as a base class for their own # Node implementations. If they don't, the constants defined here |