Commit dd145f10 authored by Chris Withers's avatar Chris Withers

Fix incorrect docstring.

parent 2432cfa9
...@@ -420,10 +420,11 @@ static struct PyMethodDef MM_methods[] = { ...@@ -420,10 +420,11 @@ static struct PyMethodDef MM_methods[] = {
{"_pop", (PyCFunction) MM_pop, 0, {"_pop", (PyCFunction) MM_pop, 0,
"_pop() -- Remove and return the last data source added"}, "_pop() -- Remove and return the last data source added"},
{"getitem", (PyCFunction) MM_get, METH_VARARGS, {"getitem", (PyCFunction) MM_get, METH_VARARGS,
"getitem(key[,call]) -- Get a value\n\n" "getitem(key[,call]) -- Get a value from the MultiDict\n\n"
"Normally, callable objects that can be called without arguments are\n" "If call is true, callable objects that can be called without arguments are\n"
"called during retrieval. This can be suppressed by providing a\n" "called during retrieval.\n"
"second argument that is false.\n" "If call is false, the object will be returns without any attempt to call it.\n"
"If not specified, call is false by default.\n"
}, },
{"has_key", (PyCFunction) MM_has_key, METH_VARARGS, {"has_key", (PyCFunction) MM_has_key, METH_VARARGS,
"has_key(key) -- Test whether the mapping has the given key" "has_key(key) -- Test whether the mapping has the given key"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment