diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-07-08 09:24:20 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-07-08 09:24:20 -0400 |
commit | cf8104fc6f89f930c9ed73aa5fcb26d719c34c8c (patch) | |
tree | 09a17673d425ae0333e78e64f28ca927a5fcb958 /coverage/execfile.py | |
parent | 7543acc020bcf956c95396b234b26f0b26783243 (diff) | |
download | python-coveragepy-cf8104fc6f89f930c9ed73aa5fcb26d719c34c8c.tar.gz |
Various Py3k fixes: remove gratuitous print, don't test the print statement, deal with __cmp__ ugliness, etc.
Diffstat (limited to 'coverage/execfile.py')
-rw-r--r-- | coverage/execfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/execfile.py b/coverage/execfile.py index 09947bc..a345c76 100644 --- a/coverage/execfile.py +++ b/coverage/execfile.py @@ -6,8 +6,8 @@ try: # In Py 2.x, the builtins were in __builtin__ BUILTINS = sys.modules['__builtin__'] except KeyError: - # In Py 3.x, they're in builtin - BUILTINS = sys.modules['builtin'] + # In Py 3.x, they're in builtins + BUILTINS = sys.modules['builtins'] def run_python_file(filename, args): |