summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-11 15:18:03 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-11 15:18:03 (GMT)
commitcf4a2f29adb6bdae0b18e983250d7c48d486c9d6 (patch)
treecf63125e859ee00fba60e99935de6b30bb338a78 /Tools/freeze
parent13be8c269155706bb22601518ba42a36e05ff361 (diff)
downloadcpython-cf4a2f29adb6bdae0b18e983250d7c48d486c9d6.zip
cpython-cf4a2f29adb6bdae0b18e983250d7c48d486c9d6.tar.gz
cpython-cf4a2f29adb6bdae0b18e983250d7c48d486c9d6.tar.bz2
Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload(). Patch by Thomas Kluyver.
Diffstat (limited to 'Tools/freeze')
-rw-r--r--Tools/freeze/bkfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/bkfile.py b/Tools/freeze/bkfile.py
index 58246fa..6abacc9 100644
--- a/Tools/freeze/bkfile.py
+++ b/Tools/freeze/bkfile.py
@@ -1,4 +1,4 @@
-_orig_open = open
+from builtins import open as _orig_open
class _BkFile:
def __init__(self, file, mode, bufsize):