MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / close

Method close

tools/python-3.11.9-amd64/Lib/wave.py:308–313  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

306 self._soundpos = 0
307
308 def close(self):
309 self._file = None
310 file = self._i_opened_the_file
311 if file:
312 self._i_opened_the_file = None
313 file.close()
314
315 def tell(self):
316 return self._soundpos

Callers 2

__del__Method · 0.95
__exit__Method · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected