mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
|
@ -78,7 +78,7 @@ mkwave(OCTAVE)
|
|||
class BufferedAudioDev:
|
||||
def __init__(self, *args):
|
||||
import audiodev
|
||||
self._base = apply(audiodev.AudioDev, args)
|
||||
self._base = audiodev.AudioDev(*args)
|
||||
self._buffer = []
|
||||
self._filled = 0
|
||||
self._addmethods(self._base, self._base.__class__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue