diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-12-19 23:33:46 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-12-19 23:33:46 (GMT) |
commit | 890c19388762c7e93168d23e149cc03febc98269 (patch) | |
tree | 59599d2104475d179309e1681cf52aa00a7ce932 /Doc/library | |
parent | 188aace8d87f1242bad49089be6cbc83c929acb6 (diff) | |
download | cpython-890c19388762c7e93168d23e149cc03febc98269.zip cpython-890c19388762c7e93168d23e149cc03febc98269.tar.gz cpython-890c19388762c7e93168d23e149cc03febc98269.tar.bz2 |
Merged revisions 76906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76906 | ezio.melotti | 2009-12-20 01:26:38 +0200 (Sun, 20 Dec 2009) | 9 lines
Merged revisions 76904 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line
#7388: "python".capitalize() in the Doc
........
................
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/collections.rst | 2 | ||||
-rw-r--r-- | Doc/library/doctest.rst | 2 | ||||
-rw-r--r-- | Doc/library/hmac.rst | 2 | ||||
-rw-r--r-- | Doc/library/logging.rst | 2 | ||||
-rw-r--r-- | Doc/library/multiprocessing.rst | 2 | ||||
-rw-r--r-- | Doc/library/pdb.rst | 2 | ||||
-rw-r--r-- | Doc/library/random.rst | 2 | ||||
-rw-r--r-- | Doc/library/smtplib.rst | 2 | ||||
-rw-r--r-- | Doc/library/socket.rst | 2 | ||||
-rw-r--r-- | Doc/library/stdtypes.rst | 4 | ||||
-rw-r--r-- | Doc/library/turtle.rst | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 7770b89..ebb35b1 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -464,7 +464,7 @@ added elements by appending to the right and popping to the left:: yield s / n The :meth:`rotate` method provides a way to implement :class:`deque` slicing and -deletion. For example, a pure python implementation of ``del d[n]`` relies on +deletion. For example, a pure Python implementation of ``del d[n]`` relies on the :meth:`rotate` method to position elements to be popped:: def delete_nth(d, n): diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 4952e05..a9e1b5b 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -1059,7 +1059,7 @@ capabilities, then you should use the advanced API. The advanced API revolves around two container classes, which are used to store the interactive examples extracted from doctest cases: -* :class:`Example`: A single python :term:`statement`, paired with its expected +* :class:`Example`: A single Python :term:`statement`, paired with its expected output. * :class:`DocTest`: A collection of :class:`Example`\ s, typically extracted diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst index faaedf4..6ffd00a 100644 --- a/Doc/library/hmac.rst +++ b/Doc/library/hmac.rst @@ -54,5 +54,5 @@ An HMAC object has the following methods: .. seealso:: Module :mod:`hashlib` - The python module providing secure hash functions. + The Python module providing secure hash functions. diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 6ff9b8b..aa83314 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -2142,7 +2142,7 @@ A Formatter can be initialized with a format string which makes use of knowledge of the :class:`LogRecord` attributes - such as the default value mentioned above making use of the fact that the user's message and arguments are pre-formatted into a :class:`LogRecord`'s *message* attribute. This format string contains -standard python %-style mapping keys. See section :ref:`old-string-formatting` +standard Python %-style mapping keys. See section :ref:`old-string-formatting` for more information on string formatting. Currently, the useful mapping keys in a :class:`LogRecord` are: diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 14f685f..a2cdb02 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -686,7 +686,7 @@ Miscellaneous .. function:: set_executable() - Sets the path of the python interpreter to use when starting a child process. + Sets the path of the Python interpreter to use when starting a child process. (By default :data:`sys.executable` is used). Embedders will probably need to do some thing like :: diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index b48f842..016bf7f 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -369,7 +369,7 @@ unalias *name* (Pdb) run [*args* ...] - Restart the debugged python program. If an argument is supplied, it is split + Restart the debugged Python program. If an argument is supplied, it is split with "shlex" and the result is used as the new sys.argv. History, breakpoints, actions and debugger options are preserved. "restart" is an alias for "run". diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 6c7a04d..2976f5e 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -68,7 +68,7 @@ Bookkeeping functions: .. function:: getrandbits(k) - Returns a python integer with *k* random bits. This method is supplied with + Returns a Python integer with *k* random bits. This method is supplied with the MersenneTwister generator and some other generators may also provide it as an optional part of the API. When available, :meth:`getrandbits` enables :meth:`randrange` to handle arbitrarily large ranges. diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 070220e..fe3e14e 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -258,7 +258,7 @@ An :class:`SMTP` instance has the following methods: The server does not support the STARTTLS extension. :exc:`RuntimeError` - SSL/TLS support is not available to your python interpreter. + SSL/TLS support is not available to your Python interpreter. .. method:: SMTP.sendmail(from_addr, to_addrs, msg[, mail_options, rcpt_options]) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 292ea2d..fc447c5 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -697,7 +697,7 @@ Note that the :meth:`connect` operation is subject to the timeout setting, and in general it is recommended to call :meth:`settimeout` before calling :meth:`connect` or pass a timeout parameter to :meth:`create_connection`. The system network stack may return a connection timeout error -of its own regardless of any python socket timeout setting. +of its own regardless of any Python socket timeout setting. .. method:: socket.setsockopt(level, optname, value) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 32c0563..6aacfbe 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1310,10 +1310,10 @@ The conversion types are: | ``'c'`` | Single character (accepts integer or single | | | | character string). | | +------------+-----------------------------------------------------+-------+ -| ``'r'`` | String (converts any python object using | \(5) | +| ``'r'`` | String (converts any Python object using | \(5) | | | :func:`repr`). | | +------------+-----------------------------------------------------+-------+ -| ``'s'`` | String (converts any python object using | | +| ``'s'`` | String (converts any Python object using | | | | :func:`str`). | | +------------+-----------------------------------------------------+-------+ | ``'%'`` | No argument is converted, results in a ``'%'`` | | diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index d947186..232305c 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -36,7 +36,7 @@ the module from within IDLE run with the ``-n`` switch. The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses :mod:`Tkinter` for the underlying -graphics, it needs a version of python installed with Tk support. +graphics, it needs a version of Python installed with Tk support. The object-oriented interface uses essentially two+two classes: |