MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/testing/iptest.py:284–291  ·  view source on GitHub ↗
(self, echo=False)

Source from the content-addressed store, hash-verified

282 daemon = True # Don't hang if main thread crashes
283 started = False
284 def __init__(self, echo=False):
285 super(StreamCapturer, self).__init__()
286 self.echo = echo
287 self.streams = []
288 self.buffer = BytesIO()
289 self.readfd, self.writefd = os.pipe()
290 self.buffer_lock = Lock()
291 self.stop = Event()
292
293 def run(self):
294 self.started = True

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected