Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ __exit__
Method
__exit__
tools/python-3.11.9-amd64/Lib/socket.py:239–241 ·
view source on GitHub ↗
(self, *args)
Source
from the content-addressed store, hash-verified
237
return
self
238
239
def
__exit__(self, *args):
240
if
not self._closed:
241
self.close()
242
243
def
__repr__(self):
244
""
"Wrap __repr__() to reveal the real
class
name and socket
Callers
nothing calls this directly
Calls
1
close
Method · 0.95
Tested by
no test coverage detected