def _get_current_context(thread_id=None):
    if thread_id is None:
        thread_id = PyThread_get_thread_ident()
    try:
        ctx = _current_contexts[thread_id]
    except KeyError:
        ctx = None

    if ctx is None:
        raise NoCurrentContextError()
    return ctx
Format a la ctime().
dataset/ETHPy150Open manahl/mdf/mdf/context.py/_get_current_context--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/datetime.py/date.ctime