Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0639d5a

Browse files
committed
Merged revisions 76904 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line #7388: "python".capitalize() in the Doc ........
1 parent 480e8e3 commit 0639d5a

22 files changed

Lines changed: 25 additions & 25 deletions

Doc/c-api/init.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ pointer and a void argument.
808808
.. index:: single: setcheckinterval() (in module sys)
809809

810810
Every check interval, when the global interpreter lock is released and
811-
reacquired, python will also call any such provided functions. This can be used
811+
reacquired, Python will also call any such provided functions. This can be used
812812
for example by asynchronous IO handlers. The notification can be scheduled from
813813
a worker thread and the actual call than made at the earliest convenience by the
814814
main thread where it has possession of the global interpreter lock and can
@@ -826,7 +826,7 @@ perform any Python API calls.
826826
exception. The notification function won't be interrupted to perform another
827827
asynchronous notification recursively, but it can still be interrupted to
828828
switch threads if the global interpreter lock is released, for example, if it
829-
calls back into python code.
829+
calls back into Python code.
830830

831831
This function returns 0 on success in which case the notification has been
832832
scheduled. Otherwise, for example if the notification buffer is full, it

Doc/distutils/setupscript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ information is sometimes used to indicate sub-releases. These are
646646
1.0.1a2
647647
the second alpha release of the first patch version of 1.0
648648

649-
:option:`classifiers` are specified in a python list::
649+
:option:`classifiers` are specified in a Python list::
650650

651651
setup(...,
652652
classifiers=[

Doc/faq/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ How do I find undefined g++ symbols __builtin_new or __pure_virtual?
434434
--------------------------------------------------------------------
435435

436436
To dynamically load g++ extension modules, you must recompile Python, relink it
437-
using g++ (change LINKCC in the python Modules Makefile), and link your
437+
using g++ (change LINKCC in the Python Modules Makefile), and link your
438438
extension module using g++ (e.g., ``g++ -shared -o mymodule.so mymodule.o``).
439439

440440

Doc/faq/library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ interpreter is installed on your platform.
6161

6262
If you would like the script to be independent of where the Python interpreter
6363
lives, you can use the "env" program. Almost all Unix variants support the
64-
following, assuming the python interpreter is in a directory on the user's
64+
following, assuming the Python interpreter is in a directory on the user's
6565
$PATH::
6666

6767
#!/usr/bin/env python

Doc/faq/windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ The important things to remember are:
208208
for developing code by experiment.
209209

210210

211-
How do I make python scripts executable?
211+
How do I make Python scripts executable?
212212
----------------------------------------
213213

214214
On Windows 2000, the standard Python installer already associates the .py

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ added elements by appending to the right and popping to the left::
469469
yield s / n
470470

471471
The :meth:`rotate` method provides a way to implement :class:`deque` slicing and
472-
deletion. For example, a pure python implementation of ``del d[n]`` relies on
472+
deletion. For example, a pure Python implementation of ``del d[n]`` relies on
473473
the :meth:`rotate` method to position elements to be popped::
474474

475475
def delete_nth(d, n):

Doc/library/doctest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ capabilities, then you should use the advanced API.
10591059
The advanced API revolves around two container classes, which are used to store
10601060
the interactive examples extracted from doctest cases:
10611061

1062-
* :class:`Example`: A single python :term:`statement`, paired with its expected
1062+
* :class:`Example`: A single Python :term:`statement`, paired with its expected
10631063
output.
10641064

10651065
* :class:`DocTest`: A collection of :class:`Example`\ s, typically extracted

Doc/library/hmac.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ An HMAC object has the following methods:
5454
.. seealso::
5555

5656
Module :mod:`hashlib`
57-
The python module providing secure hash functions.
57+
The Python module providing secure hash functions.
5858

Doc/library/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,7 @@ A Formatter can be initialized with a format string which makes use of knowledge
21962196
of the :class:`LogRecord` attributes - such as the default value mentioned above
21972197
making use of the fact that the user's message and arguments are pre-formatted
21982198
into a :class:`LogRecord`'s *message* attribute. This format string contains
2199-
standard python %-style mapping keys. See section :ref:`old-string-formatting`
2199+
standard Python %-style mapping keys. See section :ref:`old-string-formatting`
22002200
for more information on string formatting.
22012201

22022202
Currently, the useful mapping keys in a :class:`LogRecord` are:

Doc/library/multiprocessing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ Miscellaneous
686686

687687
.. function:: set_executable()
688688

689-
Sets the path of the python interpreter to use when starting a child process.
689+
Sets the path of the Python interpreter to use when starting a child process.
690690
(By default :data:`sys.executable` is used). Embedders will probably need to
691691
do some thing like ::
692692

0 commit comments

Comments
 (0)