# HG changeset patch # User paulb # Date 1129655561 0 # Node ID f4d938ab428df80ef52364234a5692d33de45fcf # Parent 6eb9b2daca76f0b8471818f07249e5aec557ede2 [project @ 2005-10-18 17:12:41 by paulb] Improved docstring. diff -r 6eb9b2daca76 -r f4d938ab428d libxml2dom/__init__.py --- a/libxml2dom/__init__.py Tue Oct 18 17:11:02 2005 +0000 +++ b/libxml2dom/__init__.py Tue Oct 18 17:12:41 2005 +0000 @@ -426,9 +426,11 @@ Parse the content found at the given 'uri'. 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. - NOTE: The parseURI does not currently work with HTML. Use parse with a - NOTE: stream object instead; for example: - NOTE: d = parse(urllib.urlopen("http://www.python.org"), html=1) + + The parseURI does not currently work with HTML. Use parse with a stream + object instead. For example: + + d = parse(urllib.urlopen("http://www.python.org"), html=1) A document object is returned by this function. """