Skip to content

Commit ca32d07

Browse files
committed
Add docstring to sys.__getattr__
1 parent 926a02e commit ca32d07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2928,7 +2928,7 @@ sys_getattr(PyObject *self, PyObject *args)
29282928

29292929
static PyMethodDef sys_methods[] = {
29302930
/* Might as well keep this in alphabetic order */
2931-
{"__getattr__", sys_getattr, METH_VARARGS},
2931+
{"__getattr__", sys_getattr, METH_VARARGS, "Module __getattr__"},
29322932
SYS_ADDAUDITHOOK_METHODDEF
29332933
SYS_AUDIT_METHODDEF
29342934
{"breakpointhook", _PyCFunction_CAST(sys_breakpointhook),

0 commit comments

Comments
 (0)