[issue6876] readline documentation example error

Stefan Schwarzburg report at bugs.python.org
Thu Sep 10 13:49:04 CEST 2009


New submission from Stefan Schwarzburg <stefan.schwarzburg at googlemail.com>:

In the last example in the readline documentation
(http://docs.python.org/library/readline.html), the line

code.InteractiveConsole.__init__(self)

should be changed to 

code.InteractiveConsole.__init__(self, locals, filename)

to work properly.

----------
assignee: georg.brandl
components: Documentation
messages: 92478
nosy: georg.brandl, schwarz
severity: normal
status: open
title: readline documentation example error
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6876>
_______________________________________


More information about the Python-bugs-list mailing list