MCPcopy Index your code
hub / github.com/RustPython/RustPython / initfp

Method initfp

Lib/wave.py:458–468  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

456 raise
457
458 def initfp(self, file):
459 self._file = file
460 self._convert = None
461 self._nchannels = 0
462 self._sampwidth = 0
463 self._framerate = 0
464 self._nframes = 0
465 self._nframeswritten = 0
466 self._datawritten = 0
467 self._datalength = 0
468 self._headerwritten = False
469
470 def __del__(self):
471 self.close()

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected