From: Fred Drake Date: Wed, 3 Jan 2001 15:36:25 +0000 (+0000) Subject: Mark the "encoding" parameter to ExternalEntityParserCreate() as optional X-Git-Tag: v2.1a1~445 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d4ac208b595083cd3229da368294f34977e5cfa;p=thirdparty%2FPython%2Fcpython.git Mark the "encoding" parameter to ExternalEntityParserCreate() as optional in the docstring. --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 184678a8144d..7a0d0356aee5 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -535,7 +535,7 @@ xmlparse_GetBase(xmlparseobject *self, PyObject *args) } static char xmlparse_ExternalEntityParserCreate__doc__[] = -"ExternalEntityParserCreate(context, encoding)\n\ +"ExternalEntityParserCreate(context[, encoding])\n\ Create a parser for parsing an external entity based on the\n\ information passed to the ExternalEntityRefHandler.";