]> granicus.if.org Git - python/commitdiff
#6025: fix signature of parse().
authorGeorg Brandl <georg@python.org>
Sat, 16 May 2009 11:14:46 +0000 (11:14 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 16 May 2009 11:14:46 +0000 (11:14 +0000)
Doc/library/xml.dom.minidom.rst

index b127f0468e71a224edd46bcc71fd79ee9fd05aea..cb49c023fa45f162412bd0723ae7cd621308c4e4 100644 (file)
@@ -30,7 +30,7 @@ DOM applications typically start by parsing some XML into a DOM.  With
 The :func:`parse` function can take either a filename or an open file object.
 
 
-.. function:: parse(filename_or_file, parser)
+.. function:: parse(filename_or_file[, parser[, bufsize]])
 
    Return a :class:`Document` from the given input. *filename_or_file* may be
    either a file name, or a file-like object. *parser*, if given, must be a SAX2