diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 567d706de7e..7645bfda3fc 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -565,7 +565,7 @@ posix_popen(self, args) if (args == NULL || !is_tupleobject(args) || gettuplesize(args) != 2 || !is_stringobject(name = gettupleitem(args, 0)) || !is_stringobject(mode = gettupleitem(args, 1))) { - err_setstr(TypeError, "open() requires 2 string arguments"); + err_setstr(TypeError, "popen() requires 2 string arguments"); return NULL; } fp = popen(getstringvalue(name), getstringvalue(mode));