From 04bb9f9ad2d9332cf78cb0d3fbaf93bcb8ae8db9 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Fri, 7 Oct 2022 23:41:47 +0900 Subject: [PATCH] Add args and kwargs to all methods of StdoutWriter --- whispering/schema.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/whispering/schema.py b/whispering/schema.py index 39b2318..3f697c0 100644 --- a/whispering/schema.py +++ b/whispering/schema.py @@ -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)