Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ getsampwidth
Method
getsampwidth
Lib/wave.py:501–504 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
499
self._sampwidth = sampwidth
500
501
def
getsampwidth(self):
502
if
not self._sampwidth:
503
raise
Error(
'sample width not set'
)
504
return
self._sampwidth
505
506
def
setframerate(self, framerate):
507
if
self._datawritten:
Callers
nothing calls this directly
Calls
1
Error
Class · 0.70
Tested by
no test coverage detected