Commit eb4c9a3e authored by Ezio Melotti's avatar Ezio Melotti

Merged revisions 77298 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77298 | ezio.melotti | 2010-01-04 11:00:11 +0200 (Mon, 04 Jan 2010) | 1 line

  fixed markup errors
........
parent 4b31db71
...@@ -142,7 +142,7 @@ are always available. They are listed here in alphabetical order. ...@@ -142,7 +142,7 @@ are always available. They are listed here in alphabetical order.
.. function:: compile(source, filename, mode, flags=0, dont_inherit=False) .. function:: compile(source, filename, mode, flags=0, dont_inherit=False)
Compile the *source* into a code or AST object. Code objects can be executed Compile the *source* into a code or AST object. Code objects can be executed
by:func:`exec` or :func:`eval`. *source* can either be a string or an AST by :func:`exec` or :func:`eval`. *source* can either be a string or an AST
object. Refer to the :mod:`ast` module documentation for information on how object. Refer to the :mod:`ast` module documentation for information on how
to work with AST objects. to work with AST objects.
......
...@@ -14,7 +14,7 @@ made using this module affect the behaviour of both the interpreter's ...@@ -14,7 +14,7 @@ made using this module affect the behaviour of both the interpreter's
interactive prompt and the prompts offered by the built-in :func:`input` interactive prompt and the prompts offered by the built-in :func:`input`
function. function.
..note:: .. note::
On MacOS X the :mod:`readline` module can be implemented using On MacOS X the :mod:`readline` module can be implemented using
the ``libedit`` library instead of GNU readline. the ``libedit`` library instead of GNU readline.
......
...@@ -43,7 +43,7 @@ The :mod:`runpy` module provides two functions: ...@@ -43,7 +43,7 @@ The :mod:`runpy` module provides two functions:
``__file__`` is set to the name provided by the module loader. If the ``__file__`` is set to the name provided by the module loader. If the
loader does not make filename information available, this variable is set loader does not make filename information available, this variable is set
to `:const:`None`. to :const:`None`.
``__loader__`` is set to the PEP 302 module loader used to retrieve the ``__loader__`` is set to the PEP 302 module loader used to retrieve the
code for the module (This loader may be a wrapper around the standard code for the module (This loader may be a wrapper around the standard
......
...@@ -740,7 +740,7 @@ changes, or look through the Subversion logs for all the details. ...@@ -740,7 +740,7 @@ changes, or look through the Subversion logs for all the details.
global site-packages directories, and global site-packages directories, and
:func:`getusersitepackages` returns the path of the user's :func:`getusersitepackages` returns the path of the user's
site-packages directory. site-packages directory.
:func:`getuserbase` returns the value of the :envvar:``USER_BASE`` :func:`getuserbase` returns the value of the :envvar:`USER_BASE`
environment variable, giving the path to a directory that can be used environment variable, giving the path to a directory that can be used
to store data. to store data.
(Contributed by Tarek Ziade; :issue:`6693`.) (Contributed by Tarek Ziade; :issue:`6693`.)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment