MCPcopy Index your code
hub / github.com/wireservice/csvkit / close

Method close

csvkit/cli.py:56–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 return self
55
56 def close(self):
57 if self._is_lazy_opened:
58 self.f.close()
59 self.f = None
60 self._is_lazy_opened = False
61
62 def __next__(self):
63 self._open()

Callers 15

runMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
sheet_namesMethod · 0.80
mainMethod · 0.80
geojson2csvFunction · 0.80
fixed2csvFunction · 0.80
get_outputMethod · 0.80
test_invalid_optionsMethod · 0.80

Calls

no outgoing calls

Tested by 15

test_invalid_optionsMethod · 0.64
test_invalid_columnMethod · 0.64
test_stdinMethod · 0.64
test_quotecharMethod · 0.64
test_doublequoteMethod · 0.64
test_escapecharMethod · 0.64
test_quotecharMethod · 0.64
test_doublequoteMethod · 0.64
test_escapecharMethod · 0.64
test_stdinMethod · 0.64
test_queryMethod · 0.64