Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ manager
Class
manager
Lib/test/test_grammar.py:1865–1869 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1863
1864
def
test_with_statement(self):
1865
class
manager(object):
1866
def
__enter__(self):
1867
return
(1, 2)
1868
def
__exit__(self, *args):
1869
pass
1870
1871
with
manager():
1872
pass
Callers
4
test_with_statement
Method · 0.85
foo
Method · 0.85
test_contextmanager
Method · 0.85
test_async_contextmanager
Method · 0.85
Calls
no outgoing calls
Tested by
4
test_with_statement
Method · 0.68
foo
Method · 0.68
test_contextmanager
Method · 0.68
test_async_contextmanager
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…