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/sunau.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/sunau.py')
-rw-r--r-- | Lib/sunau.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py index 17fa60d..631d9e8 100644 --- a/Lib/sunau.py +++ b/Lib/sunau.py @@ -153,8 +153,8 @@ class Au_read: def __init__(self, f): if type(f) == type(''): - import builtin - f = builtin.open(f, 'r') + import __builtin__ + f = __builtin__.open(f, 'r') self.initfp(f) def __del__(self): @@ -284,8 +284,8 @@ class Au_write: def __init__(self, f): if type(f) == type(''): - import builtin - f = builtin.open(f, 'w') + import __builtin__ + f = __builtin__.open(f, 'w') self.initfp(f) def __del__(self): |