diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-11 15:31:33 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-11 15:31:33 (GMT) |
commit | ca8b64461db5469fc4dc7e43cacb747046a0be53 (patch) | |
tree | a41afac14f69a0abd8ddf7cc12e52fee40d7cc53 /Tools | |
parent | 62e977f1b6d52a973304db9b0268aece99cb6c42 (diff) | |
parent | cf4a2f29adb6bdae0b18e983250d7c48d486c9d6 (diff) | |
download | cpython-ca8b64461db5469fc4dc7e43cacb747046a0be53.zip cpython-ca8b64461db5469fc4dc7e43cacb747046a0be53.tar.gz cpython-ca8b64461db5469fc4dc7e43cacb747046a0be53.tar.bz2 |
Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload(). Patch by Thomas Kluyver.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/freeze/bkfile.py | 2 |
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): |