Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ getframerate
Method
getframerate
Lib/wave.py:513–516 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
511
self._framerate = int(round(framerate))
512
513
def
getframerate(self):
514
if
not self._framerate:
515
raise
Error(
'frame rate not set'
)
516
return
self._framerate
517
518
def
setnframes(self, nframes):
519
if
self._datawritten:
Callers
nothing calls this directly
Calls
1
Error
Class · 0.70
Tested by
no test coverage detected