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/audiodev.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/audiodev.py')
-rw-r--r-- | Lib/audiodev.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/audiodev.py b/Lib/audiodev.py index fcfae16..7a8a254 100644 --- a/Lib/audiodev.py +++ b/Lib/audiodev.py @@ -2,9 +2,9 @@ error = 'audiodev.error' class Play_Audio_sgi: # Private instance variables - if 0: access frameratelist, nchannelslist, sampwidthlist, oldparams, \ - params, config, inited_outrate, inited_width, \ - inited_nchannels, port, converter, classinited: private +## if 0: access frameratelist, nchannelslist, sampwidthlist, oldparams, \ +## params, config, inited_outrate, inited_width, \ +## inited_nchannels, port, converter, classinited: private classinited = 0 frameratelist = nchannelslist = sampwidthlist = None @@ -129,15 +129,15 @@ class Play_Audio_sgi: return self.config.getqueuesize() # private methods - if 0: access *: private +## if 0: access *: private def ulaw2lin(self, data): import audioop return audioop.ulaw2lin(data, 2) class Play_Audio_sun: - if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \ - inited_nchannels, converter: private +## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \ +## inited_nchannels, converter: private def __init__(self): self.outrate = 0 |