MCPcopy 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_statementMethod · 0.85
fooMethod · 0.85
test_contextmanagerMethod · 0.85

Calls

no outgoing calls

Tested by 4

test_with_statementMethod · 0.68
fooMethod · 0.68
test_contextmanagerMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…