diff --git a/Lib/aifc.py b/Lib/aifc.py index f7288d5aa60..0af66228c28 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -404,7 +404,7 @@ def readframes(self, nframes): dummy = self._ssnd_chunk.read(8) pos = self._soundpos * self._framesize if pos: - self._ssnd_chunk.setpos(pos + 8) + self._ssnd_chunk.seek(pos + 8) self._ssnd_seek_needed = 0 if nframes == 0: return ''