# HG changeset patch # User paulb # Date 1130108394 0 # Node ID e37ad6f577e408faf7545904a7a2c8c8f3bf589a # Parent d413e85cf23ca1d5e3366bc7a2942b5f962fb1b2 [project @ 2005-10-23 22:59:54 by paulb] Fixed the parse function's docstring. Updated version number. diff -r d413e85cf23c -r e37ad6f577e4 libxml2dom/__init__.py --- a/libxml2dom/__init__.py Sun Oct 23 22:59:41 2005 +0000 +++ b/libxml2dom/__init__.py Sun Oct 23 22:59:54 2005 +0000 @@ -4,7 +4,7 @@ DOM wrapper around libxml2, specifically the libxml2mod Python extension module. """ -__version__ = "0.2.2" +__version__ = "0.2.3" import libxml2 from libxml2dom.macrolib import * @@ -383,9 +383,10 @@ """ Parse the given 'stream_or_string', where the supplied object can either be - a stream (such as a file or stream object), or a string (containing the text - of a document). If the optional 'html' parameter is set to a true value, the - content to be parsed will be treated as being HTML rather than XML. + a stream (such as a file or stream object), or a string (containing the + filename of a document). If the optional 'html' parameter is set to a true + value, the content to be parsed will be treated as being HTML rather than + XML. A document object is returned by this function. """