diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2021-10-26 01:04:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 01:04:48 +0200 |
commit | 0e15b4890a1d84f2aa800b745fdb0642d2ee966d (patch) | |
tree | dd6f3afc8f6f65d27f1389a950fc2cf64cf78943 /psutil/_psutil_sunos.c | |
parent | d1cce5caed1b9c3809ed5e2f80c9c413afd0c09a (diff) | |
download | psutil-0e15b4890a1d84f2aa800b745fdb0642d2ee966d.tar.gz |
PSUTIL_DEBUG: print file + line number for C ext modules (#2005)
Diffstat (limited to 'psutil/_psutil_sunos.c')
-rw-r--r-- | psutil/_psutil_sunos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/_psutil_sunos.c b/psutil/_psutil_sunos.c index 342798a8..2e0bd943 100644 --- a/psutil/_psutil_sunos.c +++ b/psutil/_psutil_sunos.c @@ -1679,8 +1679,8 @@ PsutilMethods[] = { "Return CPU statistics"}, // --- others - {"set_testing", psutil_set_testing, METH_NOARGS, - "Set psutil in testing mode"}, + {"set_debug", psutil_set_debug, METH_VARARGS, + "Enable or disable PSUTIL_DEBUG messages"}, {NULL, NULL, 0, NULL} }; |