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

Method getnchannels

Lib/wave.py:489–492  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

487 self._nchannels = nchannels
488
489 def getnchannels(self):
490 if not self._nchannels:
491 raise Error('number of channels not set')
492 return self._nchannels
493
494 def setsampwidth(self, sampwidth):
495 if self._datawritten:

Callers

nothing calls this directly

Calls 1

ErrorClass · 0.70

Tested by

no test coverage detected