mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-25 10:21:00 +00:00
Add args and kwargs to all methods of StdoutWriter
This commit is contained in:
parent
bc9d9096b4
commit
04bb9f9ad2
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue