]> granicus.if.org Git - python/commitdiff
Mark the "encoding" parameter to ExternalEntityParserCreate() as optional
authorFred Drake <fdrake@acm.org>
Wed, 3 Jan 2001 15:36:25 +0000 (15:36 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 3 Jan 2001 15:36:25 +0000 (15:36 +0000)
in the docstring.

Modules/pyexpat.c

index 184678a8144d665e2ada24340066b15ab12c0abd..7a0d0356aee5da7c817e6d09f853765a090974f1 100644 (file)
@@ -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.";