mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Get rid of access statement
This commit is contained in:
parent
3e065ada2c
commit
d7abed3b14
4 changed files with 31 additions and 31 deletions
18
Lib/aifc.py
18
Lib/aifc.py
|
@ -338,10 +338,10 @@ class Aifc_read:
|
|||
# _ssnd_chunk -- instantiation of a chunk class for the SSND chunk
|
||||
# _framesize -- size of one frame in the file
|
||||
|
||||
if 0: access _file, _nchannels, _nframes, _sampwidth, _framerate, \
|
||||
_comptype, _compname, _markers, _soundpos, _version, \
|
||||
_decomp, _comm_chunk_read, __aifc, _ssnd_seek_needed, \
|
||||
_ssnd_chunk, _framesize: private
|
||||
## if 0: access _file, _nchannels, _nframes, _sampwidth, _framerate, \
|
||||
## _comptype, _compname, _markers, _soundpos, _version, \
|
||||
## _decomp, _comm_chunk_read, __aifc, _ssnd_seek_needed, \
|
||||
## _ssnd_chunk, _framesize: private
|
||||
|
||||
def initfp(self, file):
|
||||
self._file = file
|
||||
|
@ -502,7 +502,7 @@ class Aifc_read:
|
|||
#
|
||||
# Internal methods.
|
||||
#
|
||||
if 0: access *: private
|
||||
## if 0: access *: private
|
||||
|
||||
def _decomp_data(self, data):
|
||||
dummy = self._decomp.SetParam(CL.FRAME_BUFFER_SIZE,
|
||||
|
@ -635,9 +635,9 @@ class Aifc_write:
|
|||
# _datalength -- the size of the audio samples written to the header
|
||||
# _datawritten -- the size of the audio samples actually written
|
||||
|
||||
if 0: access _file, _comptype, _compname, _nchannels, _sampwidth, \
|
||||
_framerate, _nframes, _aifc, _version, _comp, \
|
||||
_nframeswritten, _datalength, _datawritten: private
|
||||
## if 0: access _file, _comptype, _compname, _nchannels, _sampwidth, \
|
||||
## _framerate, _nframes, _aifc, _version, _comp, \
|
||||
## _nframeswritten, _datalength, _datawritten: private
|
||||
|
||||
def __init__(self, f):
|
||||
if type(f) == type(''):
|
||||
|
@ -829,7 +829,7 @@ class Aifc_write:
|
|||
#
|
||||
# Internal methods.
|
||||
#
|
||||
if 0: access *: private
|
||||
## if 0: access *: private
|
||||
|
||||
def _comp_data(self, data):
|
||||
dum = self._comp.SetParam(CL.FRAME_BUFFER_SIZE, len(data))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue