PyDocs

Nav

Development Tools

ContextManager

typing

class · Added in 3.5.4Deprecated 3.9
  • ContextManager(Generic[T_co, ExitT_co])
Deprecated since 3.9. contextlib.AbstractContextManager now supports subscripting ([]). See PEP 585 and Generic Alias Type.
Deprecated alias to contextlib.AbstractContextManager.
Changed in 3.13
  • 3.13: Added the optional second type parameter, ExitT_co.
0 Examples
No examples for typing/ContextManager.
See Also
No see-alsos for typing/ContextManager
0 Notes
No notes for ContextManager