mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +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
|
|
@ -17,12 +17,12 @@
|
|||
|
||||
static PyObject *ResourceError;
|
||||
|
||||
static char struct_rusage__doc__[] =
|
||||
"struct_rusage: Result from getrusage.\n\n"
|
||||
"This object may be accessed either as a tuple of\n"
|
||||
" (utime,stime,maxrss,ixrss,idrss,isrss,minflt,majflt,\n"
|
||||
" nswap,inblock,oublock,msgsnd,msgrcv,nsignals,nvcsw,nivcsw)\n"
|
||||
"or via the attributes ru_utime, ru_stime, ru_maxrss, and so on.\n";
|
||||
PyDoc_STRVAR(struct_rusage__doc__,
|
||||
"struct_rusage: Result from getrusage.\n\n"
|
||||
"This object may be accessed either as a tuple of\n"
|
||||
" (utime,stime,maxrss,ixrss,idrss,isrss,minflt,majflt,\n"
|
||||
" nswap,inblock,oublock,msgsnd,msgrcv,nsignals,nvcsw,nivcsw)\n"
|
||||
"or via the attributes ru_utime, ru_stime, ru_maxrss, and so on.");
|
||||
|
||||
static PyStructSequence_Field struct_rusage_fields[] = {
|
||||
{"ru_utime", "user time used"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue