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

Method __exit__

tools/python-3.11.9-amd64/Lib/_pyio.py:515–517  ·  view source on GitHub ↗

Context management protocol. Calls close()

(self, *args)

Source from the content-addressed store, hash-verified

513 return self
514
515 def __exit__(self, *args):
516 """Context management protocol. Calls close()"""
517 self.close()
518
519 ### Lower-level APIs ###
520

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected