cpython/Lib/contextvars.py

9 lines
198 B
Python

import _collections_abc
from _contextvars import Context, ContextVar, Token, copy_context
__all__ = ('Context', 'ContextVar', 'Token', 'copy_context')
_collections_abc.Mapping.register(Context)