Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3099)

Side by Side Diff: Lib/xml/dom/minidom.py

Issue 11379: Remove "lightweight" from minidom description
Patch Set: Created 1 year, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/xml.dom.minidom.rst ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 """\ 1 """Simple implementation of the Level 1 DOM.
2 minidom.py -- a lightweight DOM implementation. 2
3 Namespaces and other minor Level 2 features are also supported.
3 4
4 parse("foo.xml") 5 parse("foo.xml")
5 6
6 parseString("<foo><bar/></foo>") 7 parseString("<foo><bar/></foo>")
7 8
8 Todo: 9 Todo:
9 ===== 10 =====
10 * convenience methods for getting elements and text. 11 * convenience methods for getting elements and text.
11 * more testing 12 * more testing
12 * bring some of the writer and linearizer code into conformance with this 13 * bring some of the writer and linearizer code into conformance with this
(...skipping 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 {'parser': parser}) 1970 {'parser': parser})
1970 1971
1971 def getDOMImplementation(features=None): 1972 def getDOMImplementation(features=None):
1972 if features: 1973 if features:
1973 if isinstance(features, str): 1974 if isinstance(features, str):
1974 features = domreg._parse_feature_string(features) 1975 features = domreg._parse_feature_string(features)
1975 for f, v in features: 1976 for f, v in features:
1976 if not Document.implementation.hasFeature(f, v): 1977 if not Document.implementation.hasFeature(f, v):
1977 return None 1978 return None
1978 return Document.implementation 1979 return Document.implementation
OLDNEW
« no previous file with comments | « Doc/library/xml.dom.minidom.rst ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7