summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-07-01 18:48:44 (GMT)
committerGuido van Rossum <guido@python.org>1991-07-01 18:48:44 (GMT)
commit9db401333f3915c4bae0a1cfe045668832532704 (patch)
tree91f132c2de36a0b59021764ce2de1de4a454ad20 /Modules/posixmodule.c
parent9fb036811a326eedd152fe105e2940f240f114b4 (diff)
downloadcpython-9db401333f3915c4bae0a1cfe045668832532704.zip
cpython-9db401333f3915c4bae0a1cfe045668832532704.tar.gz
cpython-9db401333f3915c4bae0a1cfe045668832532704.tar.bz2
Fixed confusing error message (open should be popen)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 567d706..7645bfd 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));