Add args and kwargs to all methods of StdoutWriter

This commit is contained in:
Yuta Hayashibe 2022-10-07 23:41:47 +09:00
parent bc9d9096b4
commit 04bb9f9ad2

View file

@ -71,11 +71,11 @@ class StdoutWriter:
def __enter__(self, *args, **kwargs):
return self
def __exit__(self):
def __exit__(self, *args, **kwargs):
pass
def flush(self):
def flush(self, *args, **kwargs):
sys.stdout.flush()
def write(self, text):
def write(self, text, *args, **kwargs):
sys.stdout.write(text)