diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-12 00:43:29 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-12 00:43:29 (GMT) |
commit | 016880229a369a3fb419f3eed28b6db7c342fe71 (patch) | |
tree | 9b11de5c197bc556dd515e035327673765cd4871 /Doc/dist/dist.tex | |
parent | 41eaedd3613cebc83e6b9925499369992c7a7770 (diff) | |
download | cpython-016880229a369a3fb419f3eed28b6db7c342fe71.zip cpython-016880229a369a3fb419f3eed28b6db7c342fe71.tar.gz cpython-016880229a369a3fb419f3eed28b6db7c342fe71.tar.bz2 |
Kill execfile(), use exec() instead
Diffstat (limited to 'Doc/dist/dist.tex')
-rw-r--r-- | Doc/dist/dist.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index ff5106a..a33227f 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -2290,7 +2290,7 @@ This is useful if you need to find out the distribution meta-data (passed as keyword args from \var{script} to \function{setup()}), or the contents of the config files or command-line. -\var{script_name} is a file that will be run with \function{execfile()} +\var{script_name} is a file that will be read and run with \function{exec()} \code{sys.argv[0]} will be replaced with \var{script} for the duration of the call. \var{script_args} is a list of strings; if supplied, \code{sys.argv[1:]} will be replaced by \var{script_args} for the duration |