From 380fbf3b2adcb8129abb7f78d64f64f586c88c4b Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Thu, 17 Oct 2019 23:28:45 +0800 Subject: fix typo --- psutil/_psutil_osx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psutil/_psutil_osx.c b/psutil/_psutil_osx.c index 6e5bd7b6..d2ca94b5 100644 --- a/psutil/_psutil_osx.c +++ b/psutil/_psutil_osx.c @@ -1900,9 +1900,9 @@ static PyMethodDef mod_methods[] = { INITERR; } - if (module == NULL) + if (mod == NULL) INITERR; #if PY_MAJOR_VERSION >= 3 - return module; + return mod; #endif } -- cgit v1.2.1