diff options
Diffstat (limited to 'Modules/errnomodule.c')
-rw-r--r-- | Modules/errnomodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/errnomodule.c b/Modules/errnomodule.c index 4b54dc5..74d4f0f 100644 --- a/Modules/errnomodule.c +++ b/Modules/errnomodule.c @@ -43,7 +43,7 @@ _inscode(PyObject *d, PyObject *de, char *name, int code) Py_XDECREF(v); } -static char errno__doc__ [] = +PyDoc_STRVAR(errno__doc__, "This module makes available standard errno system symbols.\n\ \n\ The value of each symbol is the corresponding integer value,\n\ @@ -55,7 +55,7 @@ e.g., errno.errorcode[2] could be the string 'ENOENT'.\n\ Symbols that are not relevant to the underlying system are not defined.\n\ \n\ To map error codes to error messages, use the function os.strerror(),\n\ -e.g. os.strerror(2) could return 'No such file or directory'."; +e.g. os.strerror(2) could return 'No such file or directory'."); DL_EXPORT(void) initerrno(void) |