From 9db401333f3915c4bae0a1cfe045668832532704 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 1 Jul 1991 18:48:44 +0000 Subject: [PATCH] Fixed confusing error message (open should be popen) --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));