typos in the documentation for the Python binding

This commit is contained in:
kr.angelov
2013-06-27 10:11:49 +00:00
parent 0d68a20d94
commit 5dc59f815c

View File

@@ -160,11 +160,11 @@ static PyMethodDef Expr_methods[] = {
static PyGetSetDef Expr_getseters[] = { static PyGetSetDef Expr_getseters[] = {
{"fun", {"fun",
NULL, NULL, NULL, NULL,
"this the function in a function application", "this is the function in a function application",
NULL}, NULL},
{"arg", {"arg",
NULL, NULL, NULL, NULL,
"this the argument in a function application", "this is the argument in a function application",
NULL}, NULL},
{"val", {"val",
NULL, NULL, NULL, NULL,
@@ -2211,7 +2211,7 @@ pgf_readType(PyObject *self, PyObject *args) {
static PyMethodDef module_methods[] = { static PyMethodDef module_methods[] = {
{"readPGF", (void*)pgf_readPGF, METH_VARARGS, {"readPGF", (void*)pgf_readPGF, METH_VARARGS,
"Reads a PGF file in the memory"}, "Reads a PGF file in memory"},
{"readExpr", (void*)pgf_readExpr, METH_VARARGS, {"readExpr", (void*)pgf_readExpr, METH_VARARGS,
"Parses a string as an abstract tree"}, "Parses a string as an abstract tree"},
{"readType", (void*)pgf_readType, METH_VARARGS, {"readType", (void*)pgf_readType, METH_VARARGS,