class documentation

class _WriteDiscarder(BytesIO):

View In Hierarchy

Undocumented

Method write Discard writes because we are emulating a console object, where they'd go to the screen, not back into the buffer to be read like an a+ file.
def write(self, data: object, /) -> int: ΒΆ

Discard writes because we are emulating a console object, where they'd go to the screen, not back into the buffer to be read like an a+ file.