Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ writelines
Method
writelines
numpy/lib/tests/test_io.py:48–49 ·
view source on GitHub ↗
(self, lines)
Source
from the content-addressed store, hash-verified
46
BytesIO.write(self, asbytes(s))
47
48
def
writelines(self, lines):
49
BytesIO.writelines(self, [asbytes(s)
for
s in lines])
50
51
52
IS_64BIT = sys.maxsize > 2**32
Callers
2
test_unused_converter
Method · 0.95
write_release_task
Function · 0.80
Calls
1
asbytes
Function · 0.90
Tested by
no test coverage detected