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:
Bob Farrell
2008-06-16 23:28:48 +01:00
parent 7aa6db358c
commit ea096115cd
+4
View File
@@ -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