This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: readline documentation example error
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, schwarz
Priority: normal Keywords:

Created on 2009-09-10 11:49 by schwarz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg92478 - (view) Author: Stefan Schwarzburg (schwarz) Date: 2009-09-10 11:49
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.
msg92670 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-16 09:25
Thanks, fixed in r74819.
History
Date User Action Args
2022-04-11 14:56:52adminsetgithub: 51125
2009-09-16 09:25:04georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg92670
2009-09-10 11:49:03schwarzcreate