diff options
author | Fred Drake <fdrake@acm.org> | 2002-07-17 19:38:05 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-07-17 19:38:05 (GMT) |
commit | 5c3ed3db9a9f5bd07a8db919b40d02bcbf5d1a3f (patch) | |
tree | 5160eb925f0f00fb7df9864d9c05cee362caabc8 /Modules/_hotshot.c | |
parent | d1eb8b61d01c6426e2fedf952ab6b9dbef42d7a9 (diff) | |
download | cpython-5c3ed3db9a9f5bd07a8db919b40d02bcbf5d1a3f.zip cpython-5c3ed3db9a9f5bd07a8db919b40d02bcbf5d1a3f.tar.gz cpython-5c3ed3db9a9f5bd07a8db919b40d02bcbf5d1a3f.tar.bz2 |
Mark the closed attribute of the profiler with PyDoc_STR(), and added
a docstring for the info attribute of the logreader object.
Diffstat (limited to 'Modules/_hotshot.c')
-rw-r--r-- | Modules/_hotshot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c index 32137b2..4abbcb9 100644 --- a/Modules/_hotshot.c +++ b/Modules/_hotshot.c @@ -1181,7 +1181,7 @@ profiler_get_closed(ProfilerObject *self, void *closure) static PyGetSetDef profiler_getsets[] = { {"closed", (getter)profiler_get_closed, NULL, - "True if the profiler's output file has already been closed."}, + PyDoc_STR("True if the profiler's output file has already been closed.")}, {NULL} }; @@ -1250,7 +1250,8 @@ static PyMethodDef logreader_methods[] = { }; static PyMemberDef logreader_members[] = { - {"info", T_OBJECT, offsetof(LogReaderObject, info), RO}, + {"info", T_OBJECT, offsetof(LogReaderObject, info), RO, + PyDoc_STR("Dictionary mapping informational keys to lists of values.")}, {NULL} }; |