mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
indicate return value on __dir__ methods
This commit is contained in:
parent
1fdcf0e4b1
commit
c7284122be
2 changed files with 3 additions and 3 deletions
|
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue