Get rid of access statement

This commit is contained in:
Guido van Rossum 1996-08-20 20:40:07 +00:00
parent 3e065ada2c
commit d7abed3b14
4 changed files with 31 additions and 31 deletions

View file

@ -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: