Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __enter__
Method
__enter__
Lib/tarfile.py:3023–3025 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3021
print(msg, file=sys.stderr)
3022
3023
def
__enter__(self):
3024
self._check()
3025
return
self
3026
3027
def
__exit__(self, type, value, traceback):
3028
if
type is None:
Callers
nothing calls this directly
Calls
1
_check
Method · 0.95
Tested by
no test coverage detected