mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Mark the "encoding" parameter to ExternalEntityParserCreate() as optional
in the docstring.
This commit is contained in:
parent
e396c04832
commit
2d4ac208b5
1 changed files with 1 additions and 1 deletions
|
@ -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.";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue