[docs] Typo In Code Example

Alec Nunn alec.nunn at gmail.com
Thu Oct 29 13:38:37 EDT 2015


​​
For the _readline_ module, there is a typo in the second code example,
starting with the documentation for Python 3.5 (I have also noticed it in
the documentation for the Python 3.6 (dev) documentation).

import atexitimport osimport *realine*histfile =
os.path.join(os.path.expanduser("~"), ".python_history")

Should be fixed to:

import atexitimport osimport *readline*histfile =
os.path.join(os.path.expanduser("~"), ".python_history")

Referenced URL(s):
- https://docs.python.org/3.5/library/readline.html
- https://docs.python.org/3.6/library/readline.html

-- 
​​

Alec Nunn
​alec.nunn at gmail.com​
​​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20151029/dd8902af/attachment.html>


More information about the docs mailing list