#6876: fix base class constructor invocation in example.

This commit is contained in:
Georg Brandl 2009-09-16 09:24:57 +00:00
parent 49bb9b7f0a
commit b29709adc8
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
:mod:`readline` --- GNU readline interface
==========================================
@ -221,7 +220,7 @@ support history save/restore. ::
class HistoryConsole(code.InteractiveConsole):
def __init__(self, locals=None, filename="<console>",
histfile=os.path.expanduser("~/.console-history")):
code.InteractiveConsole.__init__(self)
code.InteractiveConsole.__init__(self, locals, filename)
self.init_history(histfile)
def init_history(self, histfile):