From: Georg Brandl Date: Sat, 16 May 2009 11:14:46 +0000 (+0000) Subject: #6025: fix signature of parse(). X-Git-Tag: v2.7a1~1183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29d3a04618bea5afb216167a49247fe919dd0b00;p=thirdparty%2FPython%2Fcpython.git #6025: fix signature of parse(). --- diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index b127f0468e71..cb49c023fa45 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -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