diff options
Diffstat (limited to 'coverage/execfile.py')
-rw-r--r-- | coverage/execfile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/execfile.py b/coverage/execfile.py index ae4c7036..c957949e 100644 --- a/coverage/execfile.py +++ b/coverage/execfile.py @@ -10,9 +10,9 @@ def run_python_file(filename, args): `args` is the argument array to present as sys.argv. """ - # Most code that does this does it in a way that leaves __main__ or __file__ - # with the wrong values. Importing the code as __main__ gets all of this - # right automatically. + # Most code that does this does it in a way that leaves __main__ or + # __file__ with the wrong values. Importing the code as __main__ gets all + # of this right automatically. # # One difference from python.exe: if I run foo.py from the command line, it # always uses foo.py. With this code, it might find foo.pyc instead. |