Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ writeframes
Method
writeframes
Lib/wave.py:605–608 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
603
self._nframeswritten = self._nframeswritten + nframes
604
605
def
writeframes(self, data):
606
self.writeframesraw(data)
607
if
self._datalength != self._datawritten:
608
self._patchheader()
609
610
def
close(self):
611
try
:
Callers
15
test_ieee_float_has_fact_chunk
Method · 0.80
test_pcm_has_no_fact_chunk
Method · 0.80
test_write_params
Method · 0.80
test_write
Method · 0.80
test_write_bytearray
Method · 0.80
test_write_array
Method · 0.80
test_write_memoryview
Method · 0.80
test_incompleted_write
Method · 0.80
test_multiple_writes
Method · 0.80
test_overflowed_write
Method · 0.80
test_unseekable_read
Method · 0.80
test_unseekable_write
Method · 0.80
Calls
2
writeframesraw
Method · 0.95
_patchheader
Method · 0.95
Tested by
15
test_ieee_float_has_fact_chunk
Method · 0.64
test_pcm_has_no_fact_chunk
Method · 0.64
test_write_params
Method · 0.64
test_write
Method · 0.64
test_write_bytearray
Method · 0.64
test_write_array
Method · 0.64
test_write_memoryview
Method · 0.64
test_incompleted_write
Method · 0.64
test_multiple_writes
Method · 0.64
test_overflowed_write
Method · 0.64
test_unseekable_read
Method · 0.64
test_unseekable_write
Method · 0.64