diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-03-09 16:03:30 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-03-09 16:03:30 (GMT) |
commit | 4e40cec924d5c2cac4c3b6755fe390c94404fa86 (patch) | |
tree | d5aacce8123cba58af787d5dc9c0cd827569e490 /Doc/library/site.rst | |
parent | 04ea3f35bd0bbaa1afdf5d39c60b7087a03ddd2f (diff) | |
download | cpython-4e40cec924d5c2cac4c3b6755fe390c94404fa86.zip cpython-4e40cec924d5c2cac4c3b6755fe390c94404fa86.tar.gz cpython-4e40cec924d5c2cac4c3b6755fe390c94404fa86.tar.bz2 |
whatsnew: sys.__interactivehook__. (#5845)
I decided to leave the (slightly expanded) Other Improvements
entry as well, since someone looking for command line behavior
changes isn't going to look in the 'sys' module section.
Diffstat (limited to 'Doc/library/site.rst')
-rw-r--r-- | Doc/library/site.rst | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst index d93e938..2fdf303 100644 --- a/Doc/library/site.rst +++ b/Doc/library/site.rst @@ -123,9 +123,13 @@ On systems that support :mod:`readline`, this module will also import and configure the :mod:`rlcompleter` module, if Python is started in :ref:`interactive mode <tut-interactive>` and without the :option:`-S` option. The default behavior is enable tab-completion and to use -:file:`~/.python_history` as the history save file. To disable it, override -the :data:`sys.__interactivehook__` attribute in your :mod:`sitecustomize` -or :mod:`usercustomize` module or your :envvar:`PYTHONSTARTUP` file. +:file:`~/.python_history` as the history save file. To disable it, delete (or +override) the :data:`sys.__interactivehook__` attribute in your +:mod:`sitecustomize` or :mod:`usercustomize` module or your +:envvar:`PYTHONSTARTUP` file. + +.. versionchanged:: 3.4 + Activation of rlcompleter and history was made automatic. Module contents |