MCPcopy Index your code
hub / github.com/python/cpython / buffered

Method buffered

Lib/_ast_unparse.py:109–116  ·  view source on GitHub ↗
(self, buffer = None)

Source from the content-addressed store, hash-verified

107
108 @contextmanager
109 def buffered(self, buffer = None):
110 if buffer is None:
111 buffer = []
112
113 original_source = self._source
114 self._source = buffer
115 yield buffer
116 self._source = original_source
117
118 @contextmanager
119 def block(self, *, extra = None):

Callers 2

_write_ftstringMethod · 0.95
visit_LambdaMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected