mirror of
https://github.com/kennethreitz-archive/bpython-gist.git
synced 2026-06-05 23:50:18 +00:00
close() also implemented for same hacky fix as flush()
The logging module tries to call both these methods, so I'm sure other modules do as well.
This commit is contained in:
@@ -780,6 +780,10 @@ class Repl( object ):
|
||||
to do it."""
|
||||
pass
|
||||
|
||||
def close( self ):
|
||||
"""See the flush() method docstring."""
|
||||
pass
|
||||
|
||||
def echo( self, s, redraw=True ):
|
||||
"""Parse and echo a formatted string with appropriate attributes. It uses the
|
||||
formatting method as defined in formatter.py to parse the srings. It won't update
|
||||
|
||||
Reference in New Issue
Block a user