From: Georg Brandl Date: Wed, 16 Sep 2009 09:24:57 +0000 (+0000) Subject: #6876: fix base class constructor invocation in example. X-Git-Tag: v2.7a1~535 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29709adc8503317119f600013acee5e84bb926a;p=thirdparty%2FPython%2Fcpython.git #6876: fix base class constructor invocation in example. --- diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index 208829928fff..685b36f9c531 100644 --- a/Doc/library/readline.rst +++ b/Doc/library/readline.rst @@ -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="", 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):