Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ make_byte_stream
Method
make_byte_stream
Lib/test/test_sax.py:363–364 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
361
os_helper.unlink(self.file)
362
363
def
make_byte_stream(self):
364
return
BytesIO(b
"This is a byte stream."
)
365
366
def
make_character_stream(self):
367
return
StringIO(
"This is a character stream."
)
Callers
2
test_byte_stream
Method · 0.95
test_binary_file
Method · 0.95
Calls
1
BytesIO
Class · 0.90
Tested by
no test coverage detected