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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d4ac208b595083cd3229da368294f34977e5cfa;p=python Mark the "encoding" parameter to ExternalEntityParserCreate() as optional in the docstring. --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 184678a814..7a0d0356ae 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.";