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

Method prepare_context

Lib/concurrent/futures/thread.py:158–159  ·  view source on GitHub ↗
(cls, initializer, initargs)

Source from the content-addressed store, hash-verified

156
157 @classmethod
158 def prepare_context(cls, initializer, initargs):
159 return WorkerContext.prepare(initializer, initargs)
160
161 def __init__(self, max_workers=None, thread_name_prefix='',
162 initializer=None, initargs=(), **ctxkwargs):

Callers 1

__init__Method · 0.45

Calls 1

prepareMethod · 0.45

Tested by

no test coverage detected