MCPcopy
hub / github.com/dabeaz/python-cookbook / example.py

File example.py

src/15/reading_file_like_objects_from_c/example.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1f = open('sample.c')
2import sample
3sample.consume_file(f)
4f.close()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected