mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Patch #568124: Add doc string macros.
This commit is contained in:
parent
654c11ee3a
commit
14f8b4cfcb
63 changed files with 1509 additions and 1625 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue