MCPcopy Index your code
hub / github.com/numpy/numpy / JustWriter

Class JustWriter

numpy/lib/tests/test_io.py:2587–2595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2585# These next two classes encode the minimal API needed to save()/load() arrays.
2586# The `test_ducktyping` ensures they work correctly
2587class JustWriter:
2588 def __init__(self, base):
2589 self.base = base
2590
2591 def write(self, s):
2592 return self.base.write(s)
2593
2594 def flush(self):
2595 return self.base.flush()
2596
2597class JustReader:
2598 def __init__(self, base):

Callers 1

test_ducktypingFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_ducktypingFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…