From 623511b7df11994469b83e7ea4ed77230703fce8 Mon Sep 17 00:00:00 2001 From: Paul Prescod Date: Fri, 21 Jul 2000 22:05:49 +0000 Subject: Added a few docstrings --- Lib/xml/dom/minidom.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py index 981e511..3f5668e 100644 --- a/Lib/xml/dom/minidom.py +++ b/Lib/xml/dom/minidom.py @@ -6,6 +6,10 @@ import types """ minidom.py -- a lightweight DOM implementation based on SAX. +parse( "foo.xml" ) + +parseString( "" ) + Todo: ===== * convenience methods for getting elements and text. @@ -440,7 +444,10 @@ def _doparse( func, args, kwargs ): return rootNode def parse( *args, **kwargs ): + "Parse a file into a DOM by filename or file object" return _doparse( pulldom.parse, args, kwargs ) def parseString( *args, **kwargs ): + "Parse a file into a DOM from a string" return _doparse( pulldom.parseString, args, kwargs ) + -- cgit v0.12