diff options
author | Guido van Rossum <guido@python.org> | 1996-08-20 20:40:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-20 20:40:07 (GMT) |
commit | d7abed3b14238f9f4809af93b1381b7e92c0891d (patch) | |
tree | 70b7a32ec52152dc251341a4bdcd13a1c82f7393 /Lib/sunau.py | |
parent | 3e065ada2c878b20e3386b48f7e5a1e23925f3d2 (diff) | |
download | cpython-d7abed3b14238f9f4809af93b1381b7e92c0891d.zip cpython-d7abed3b14238f9f4809af93b1381b7e92c0891d.tar.gz cpython-d7abed3b14238f9f4809af93b1381b7e92c0891d.tar.bz2 |
Get rid of access statement
Diffstat (limited to 'Lib/sunau.py')
-rw-r--r-- | Lib/sunau.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py index 66fec94..aeac20e 100644 --- a/Lib/sunau.py +++ b/Lib/sunau.py @@ -149,9 +149,9 @@ def _write_u32(file, x): file.write(chr(int(data[i]))) class Au_read: - access _file, _soundpos, _hdr_size, _data_size, _encoding, \ - _sampwidth, _framesize, _framerate, _nchannels, \ - _info: private +## access _file, _soundpos, _hdr_size, _data_size, _encoding, \ +## _sampwidth, _framesize, _framerate, _nchannels, \ +## _info: private def __init__(self, f): if type(f) == type(''): @@ -280,9 +280,9 @@ class Au_read: self._file = None class Au_write: - access _file, _framerate, _nchannels, _sampwidth, _framesize, \ - _nframes, _nframeswritten, _datawritten, _info, \ - _comptype: private +## access _file, _framerate, _nchannels, _sampwidth, _framesize, \ +## _nframes, _nframeswritten, _datawritten, _info, \ +## _comptype: private def __init__(self, f): if type(f) == type(''): @@ -410,7 +410,7 @@ class Au_write: # # private methods # - if 0: access *: private +## if 0: access *: private def _ensure_header_written(self): if not self._nframeswritten: |