diff options
author | Guido van Rossum <guido@python.org> | 1994-01-28 09:59:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-01-28 09:59:35 (GMT) |
commit | 3db6ebcc3fe62d19ae0f0d3b929e17e9ca4edce3 (patch) | |
tree | 98998df9d51e45ba0ee463849802d47efd7578a0 /Lib/aifc.py | |
parent | ffe9490d7902c7f91775df2e3fa128b2d2d62f30 (diff) | |
download | cpython-3db6ebcc3fe62d19ae0f0d3b929e17e9ca4edce3.zip cpython-3db6ebcc3fe62d19ae0f0d3b929e17e9ca4edce3.tar.gz cpython-3db6ebcc3fe62d19ae0f0d3b929e17e9ca4edce3.tar.bz2 |
Use __builtin__ instead of builtin
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r-- | Lib/aifc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index 653dac9..aa1e56c 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -133,7 +133,7 @@ # changed by calling aiff() or aifc() before the first writeframes or # writeframesraw. -import builtin +import __builtin__ try: import CL except ImportError: @@ -410,7 +410,7 @@ class Aifc_read: def __init__(self, f): if type(f) == type(''): - f = builtin.open(f, 'r') + f = __builtin__.open(f, 'r') # else, assume it is an open file object already self.initfp(f) @@ -616,7 +616,7 @@ class Aifc_write: def __init__(self, f): if type(f) == type(''): filename = f - f = builtin.open(f, 'w') + f = __builtin__.open(f, 'w') else: # else, assume it is an open file object already filename = '???' |