diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-05 23:51:07 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-05 23:51:07 (GMT) |
commit | de4f05b741aacf545d2fb844329d930877117ee2 (patch) | |
tree | e8ec823ee1b888b8e23581525697605aeff686c7 /Doc/tutorial/interactive.rst | |
parent | e5cad23a92c88440e739589430c0b22d41a44621 (diff) | |
download | cpython-de4f05b741aacf545d2fb844329d930877117ee2.zip cpython-de4f05b741aacf545d2fb844329d930877117ee2.tar.gz cpython-de4f05b741aacf545d2fb844329d930877117ee2.tar.bz2 |
Improve documentation for PEP 370 support in site module (#8617).
site.USER_BASE and site.USER_SITE are now fully documented. PEP 370 is
outdated with respects to the Mac framework situation, but the code in
sysconfig and the example in the 3.2 What’s New document helped me find
the right values to document for Mac OS X.
The command-line interface of the site module, partly documented in the
3.2 What’s New, is fully described in the module docs.
The purpose of the usercustomize module is explained in the site docs,
with a gentle introduction in the tutorial (right after the section that
talks about PYTHONSTARTUP; a comment mentions it should be moved from
the tutorial to another file, but that will be another bug).
Various markup and wording improvements were made along the way in the
site module docs. Duplicate and incomplete declarations of environment
variables have also been removed (the original bug report was actually
about these entries :). The site module docs are still a bit messy;
I’ll see about improving them for #11553.
All these sections are copiously interlinked and findable from the doc
indexes.
Diffstat (limited to 'Doc/tutorial/interactive.rst')
-rw-r--r-- | Doc/tutorial/interactive.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/tutorial/interactive.rst b/Doc/tutorial/interactive.rst index 5faaf96..36acb06 100644 --- a/Doc/tutorial/interactive.rst +++ b/Doc/tutorial/interactive.rst @@ -156,17 +156,18 @@ symbol table. A command to check (or even suggest) matching parentheses, quotes, etc., would also be useful. One alternative enhanced interactive interpreter that has been around for quite -some time is `IPython`_, which features tab completion, object exploration and +some time is IPython_, which features tab completion, object exploration and advanced history management. It can also be thoroughly customized and embedded into other applications. Another similar enhanced interactive environment is -`bpython`_. +bpython_. .. rubric:: Footnotes .. [#] Python will execute the contents of a file identified by the :envvar:`PYTHONSTARTUP` environment variable when you start an interactive - interpreter. + interpreter. To customize Python even for non-interactive mode, see + :ref:`tut-customize`. .. _GNU Readline: http://tiswww.case.edu/php/chet/readline/rltop.html |