over.text.Output.print renamed to over.text.Output.write
This commit is contained in:
parent
16770b209c
commit
d5f3470444
1 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ class Output:
|
||||||
self.indent = indent
|
self.indent = indent
|
||||||
self.stream = stream
|
self.stream = stream
|
||||||
|
|
||||||
def print(self, text, tag=None, format=None, colors=None, end=None):
|
def write(self, text, tag=None, format=None, colors=None, end=None):
|
||||||
"""
|
"""
|
||||||
@while displaying text
|
@while displaying text
|
||||||
"""
|
"""
|
||||||
|
@ -356,7 +356,7 @@ class Output:
|
||||||
self.stream.flush()
|
self.stream.flush()
|
||||||
|
|
||||||
def __call__(self, *args, **kwargs):
|
def __call__(self, *args, **kwargs):
|
||||||
self.print(*args, **kwargs)
|
self.write(*args, **kwargs)
|
||||||
|
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue