indicate return value on __dir__ methods

This commit is contained in:
Benjamin Peterson 2011-05-24 12:46:15 -05:00
parent 1fdcf0e4b1
commit c7284122be
2 changed files with 3 additions and 3 deletions

View file

@ -437,7 +437,7 @@ module_dir(PyObject *self, PyObject *args)
static PyMethodDef module_methods[] = {
{"__dir__", module_dir, METH_NOARGS,
PyDoc_STR("__dir__() -> specialized dir() implementation")},
PyDoc_STR("__dir__() -> list\nspecialized dir() implementation")},
{0}
};