summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-01-03 15:36:25 (GMT)
committerFred Drake <fdrake@acm.org>2001-01-03 15:36:25 (GMT)
commit2d4ac208b595083cd3229da368294f34977e5cfa (patch)
treeae91aa72f61f3f0ef2efe958059e8f573daa3db0
parente396c04832927dd385aed67de78904e5fa9a6d03 (diff)
downloadcpython-2d4ac208b595083cd3229da368294f34977e5cfa.zip
cpython-2d4ac208b595083cd3229da368294f34977e5cfa.tar.gz
cpython-2d4ac208b595083cd3229da368294f34977e5cfa.tar.bz2
Mark the "encoding" parameter to ExternalEntityParserCreate() as optional
in the docstring.
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 184678a..7a0d035 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.";