diff options
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r-- | Lib/tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index b0d1292..bc0b09f 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -41,6 +41,7 @@ __credits__ = "Gustavo Niemeyer, Niels Gustäbel, Richard Townsend." #--------- # Imports #--------- +from __builtin__ import open as bltn_open import sys import os import shutil @@ -2611,5 +2612,4 @@ def is_tarfile(name): except TarError: return False -bltn_open = open open = TarFile.open |