summaryrefslogtreecommitdiff
path: root/Lib/aifc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index 085fa90863..9b41c35128 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -135,7 +135,7 @@ writeframesraw.
"""
import struct
-import __builtin__
+import builtins
__all__ = ["Error","open","openfp"]
@@ -336,7 +336,7 @@ class Aifc_read:
def __init__(self, f):
if type(f) == type(''):
- f = __builtin__.open(f, 'rb')
+ f = builtins.open(f, 'rb')
# else, assume it is an open file object already
self.initfp(f)
@@ -557,7 +557,7 @@ class Aifc_write:
def __init__(self, f):
if type(f) == type(''):
filename = f
- f = __builtin__.open(f, 'wb')
+ f = builtins.open(f, 'wb')
else:
# else, assume it is an open file object already
filename = '???'