diff options
author | Georg Brandl <georg@python.org> | 2009-09-16 09:24:57 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-16 09:24:57 (GMT) |
commit | b29709adc8503317119f600013acee5e84bb926a (patch) | |
tree | 3aa2e6c34e5a56cca7615469793d3f16dadeccc0 /Doc | |
parent | 49bb9b7f0a4155c6f7cf83b3bb0cbac777a075a8 (diff) | |
download | cpython-b29709adc8503317119f600013acee5e84bb926a.zip cpython-b29709adc8503317119f600013acee5e84bb926a.tar.gz cpython-b29709adc8503317119f600013acee5e84bb926a.tar.bz2 |
#6876: fix base class constructor invocation in example.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/readline.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index 2088299..685b36f 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="<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): |