[Python-checkins] python/dist/src/Modules _hotshot.c,1.21,1.22
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 17 Jul 2002 12:38:07 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv21683
Modified Files:
_hotshot.c
Log Message:
Mark the closed attribute of the profiler with PyDoc_STR(), and added
a docstring for the info attribute of the logreader object.
Index: _hotshot.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_hotshot.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** _hotshot.c 17 Jul 2002 18:54:20 -0000 1.21
--- _hotshot.c 17 Jul 2002 19:38:05 -0000 1.22
***************
*** 1182,1186 ****
static PyGetSetDef profiler_getsets[] = {
{"closed", (getter)profiler_get_closed, NULL,
! "True if the profiler's output file has already been closed."},
{NULL}
};
--- 1182,1186 ----
static PyGetSetDef profiler_getsets[] = {
{"closed", (getter)profiler_get_closed, NULL,
! PyDoc_STR("True if the profiler's output file has already been closed.")},
{NULL}
};
***************
*** 1251,1255 ****
static PyMemberDef logreader_members[] = {
! {"info", T_OBJECT, offsetof(LogReaderObject, info), RO},
{NULL}
};
--- 1251,1256 ----
static PyMemberDef logreader_members[] = {
! {"info", T_OBJECT, offsetof(LogReaderObject, info), RO,
! PyDoc_STR("Dictionary mapping informational keys to lists of values.")},
{NULL}
};