Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __init__
Method
__init__
numpy/lib/tests/test_io.py:42–43 ·
view source on GitHub ↗
(self, s="")
Source
from the content-addressed store, hash-verified
40
41
""
"
42
def
__init__(self, s=
""
):
43
BytesIO.__init__(self, asbytes(s))
44
45
def
write(self, s):
46
BytesIO.write(self, asbytes(s))
Callers
nothing calls this directly
Calls
1
asbytes
Function · 0.90
Tested by
no test coverage detected