summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-02-01 22:24:40 (GMT)
committerFred Drake <fdrake@acm.org>1999-02-01 22:24:40 (GMT)
commita6dff3e77287bbb08e8c3700b789a50485cf630d (patch)
tree187975f9e03fb259fdffe9c6534ffe5a300f4d58 /Modules/posixmodule.c
parentdbd72a4e4fc39312abd5bb476f51051f204ddeaf (diff)
downloadcpython-a6dff3e77287bbb08e8c3700b789a50485cf630d.zip
cpython-a6dff3e77287bbb08e8c3700b789a50485cf630d.tar.gz
cpython-a6dff3e77287bbb08e8c3700b789a50485cf630d.tar.bz2
spawnv, spawnve docstrings: added mode parameter; this is required!
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 1be268c..e309dc1 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -1413,9 +1413,10 @@ posix_execve(self, args)
#ifdef HAVE_SPAWNV
static char posix_spawnv__doc__[] =
-"spawnv(path, args)\n\
+"spawnv(mode, path, args)\n\
Execute an executable path with arguments, replacing current process.\n\
\n\
+ mode: mode of process creation\n\
path: path of executable file\n\
args: tuple or list of strings";
@@ -1472,9 +1473,10 @@ posix_spawnv(self, args)
static char posix_spawnve__doc__[] =
-"spawnve(path, args, env)\n\
+"spawnve(mode, path, args, env)\n\
Execute a path with arguments and environment, replacing current process.\n\
\n\
+ mode: mode of process creation\n\
path: path of executable file\n\
args: tuple or list of arguments\n\
env: dictonary of strings mapping to strings";