class documentation

class _StreamContextAdapter:

Constructor: _StreamContextAdapter(stream)

View In Hierarchy

Adapter to make streams work with context manager protocol.

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __getattr__ Undocumented
Method __init__ Undocumented
Instance Variable buffer Undocumented
Instance Variable stream Undocumented
def __enter__(self) -> TextIO:

Undocumented

def __exit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None):

Undocumented

def __getattr__(self, name: str) -> object:

Undocumented

def __init__(self, stream: TextIO | BinaryIO):

Undocumented

buffer =

Undocumented

stream =

Undocumented