summaryrefslogtreecommitdiffstats
path: root/Objects/moduleobject.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-05-24 17:46:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-05-24 17:46:15 (GMT)
commitc7284122be9254a6e3b5471a933852b68692130b (patch)
tree65b9a06dd0385a97cedec50a26f06945d8db7cdc /Objects/moduleobject.c
parent1fdcf0e4b1b68fb158adfd42bbb56da7a04a42b8 (diff)
downloadcpython-c7284122be9254a6e3b5471a933852b68692130b.zip
cpython-c7284122be9254a6e3b5471a933852b68692130b.tar.gz
cpython-c7284122be9254a6e3b5471a933852b68692130b.tar.bz2
indicate return value on __dir__ methods
Diffstat (limited to 'Objects/moduleobject.c')
-rw-r--r--Objects/moduleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/moduleobject.c b/Objects/moduleobject.c
index d922249..3817ef3 100644
--- a/Objects/moduleobject.c
+++ b/Objects/moduleobject.c
@@ -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}
};