summaryrefslogtreecommitdiffstats
path: root/Doc/library/readline.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/readline.rst')
-rw-r--r--Doc/library/readline.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst
index 6cc69a1..b59f680 100644
--- a/Doc/library/readline.rst
+++ b/Doc/library/readline.rst
@@ -205,7 +205,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):