mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
spawnv, spawnve docstrings: added mode parameter; this is required!
This commit is contained in:
parent
dbd72a4e4f
commit
a6dff3e772
1 changed files with 4 additions and 2 deletions
|
|
@ -1413,9 +1413,10 @@ posix_execve(self, args)
|
||||||
|
|
||||||
#ifdef HAVE_SPAWNV
|
#ifdef HAVE_SPAWNV
|
||||||
static char posix_spawnv__doc__[] =
|
static char posix_spawnv__doc__[] =
|
||||||
"spawnv(path, args)\n\
|
"spawnv(mode, path, args)\n\
|
||||||
Execute an executable path with arguments, replacing current process.\n\
|
Execute an executable path with arguments, replacing current process.\n\
|
||||||
\n\
|
\n\
|
||||||
|
mode: mode of process creation\n\
|
||||||
path: path of executable file\n\
|
path: path of executable file\n\
|
||||||
args: tuple or list of strings";
|
args: tuple or list of strings";
|
||||||
|
|
||||||
|
|
@ -1472,9 +1473,10 @@ posix_spawnv(self, args)
|
||||||
|
|
||||||
|
|
||||||
static char posix_spawnve__doc__[] =
|
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\
|
Execute a path with arguments and environment, replacing current process.\n\
|
||||||
\n\
|
\n\
|
||||||
|
mode: mode of process creation\n\
|
||||||
path: path of executable file\n\
|
path: path of executable file\n\
|
||||||
args: tuple or list of arguments\n\
|
args: tuple or list of arguments\n\
|
||||||
env: dictonary of strings mapping to strings";
|
env: dictonary of strings mapping to strings";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue