summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-11 15:31:59 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-11 15:31:59 (GMT)
commit205408dacb7844c86e49372f0f25a7018341c2b7 (patch)
tree2e518ac0f327797697ee9e096be9cf4cc0a8e6cc /Tools
parentca1fb3eb426466310efd1599a0d801fa6ed3645e (diff)
downloadcpython-205408dacb7844c86e49372f0f25a7018341c2b7.zip
cpython-205408dacb7844c86e49372f0f25a7018341c2b7.tar.gz
cpython-205408dacb7844c86e49372f0f25a7018341c2b7.tar.bz2
Issue #23615: Module tarfile is now can be reloaded with imp.reload().
Diffstat (limited to 'Tools')
-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 54af2fa..2fc19dc 100644
--- a/Tools/freeze/bkfile.py
+++ b/Tools/freeze/bkfile.py
@@ -1,4 +1,4 @@
-_orig_open = open
+from __builtin__ import open as _orig_open
class _BkFile:
def __init__(self, file, mode, bufsize):