Skip to content

Commit 8203c10

Browse files
committed
Merge pull request realpython#355 from smithandrewl/master
Capitalization / Spelling
2 parents 28530d5 + cdd3190 commit 8203c10

File tree

9 files changed

+35
-35
lines changed

9 files changed

+35
-35
lines changed

docs/dev/env.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ to do that which also shows status and warning messages in the statusbar would b
6464
Python-mode
6565
^^^^^^^^^^^
6666

67-
Python-mode_ is a complex solution in VIM for working with python code.
67+
Python-mode_ is a complex solution in VIM for working with Python code.
6868
It has:
6969

7070
- Asynchronous Python code checking (pylint, pyflakes, pep8, mccabe) in any combination
@@ -94,7 +94,7 @@ Emacs is a powerful text editor. It's fully programmable (lisp), but
9494
it can be some work to wire up correctly. A good start if you're
9595
already an Emacs user is `Python Programming in Emacs`_ at EmacsWiki.
9696

97-
1. Emacs itself comes with a python mode.
97+
1. Emacs itself comes with a Python mode.
9898
2. Python ships with an alternate version:
9999
`python-mode.el <https://launchpad.net/python-mode>`_
100100
3. Fabián Ezequiel Gallina's `python.el <https://github.com/fgallina/python.el>`_

docs/intro/learning.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Beginner
77
Learn Python Interactive Tutorial
88
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99

10-
Learnpython.org is an easy non-intimidating way to get introduced to python.
10+
Learnpython.org is an easy non-intimidating way to get introduced to Python.
1111
The website takes the same approach used on the popular `Try Ruby <http://tryruby.org/>`_
12-
website, it has an interactive python interpreter built into the site that
12+
website, it has an interactive Python interpreter built into the site that
1313
allows you to go through the lessons without having to install Python locally.
1414

1515
`Learn Python <http://www.learnpython.org/>`_
@@ -52,11 +52,11 @@ Think Python: How to Think Like a Computer Scientist
5252
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5353

5454
Think Python attempts to give an introduction to basic concepts in computer
55-
science through the use of the python language. The focus was to create a book
55+
science through the use of the Python language. The focus was to create a book
5656
with plenty of exercises, minimal jargon and a section in each chapter devoted
5757
to the subject of debugging.
5858

59-
While exploring the various features available in the python language the
59+
While exploring the various features available in the Python language the
6060
author weaves in various design patterns and best practices.
6161

6262
The book also includes several case studies which have the reader explore the
@@ -72,11 +72,11 @@ Python Koans
7272

7373
Python Koans is a port of Edgecase's Ruby Koans. It uses a test-driven
7474
approach, q.v. TEST DRIVEN DESIGN SECTION to provide an interactive tutorial
75-
teaching basic python concepts. By fixing assertion statements that fail in a
76-
test script, this provides sequential steps to learning python.
75+
teaching basic Python concepts. By fixing assertion statements that fail in a
76+
test script, this provides sequential steps to learning Python.
7777

7878
For those used to languages and figuring out puzzles on their own, this can be
79-
a fun, attractive option. For those new to python and programming, having an
79+
a fun, attractive option. For those new to Python and programming, having an
8080
additional resource or reference will be helpful.
8181

8282
`Python Koans <http://bitbucket.org/gregmalcolm/python_koans>`_
@@ -88,7 +88,7 @@ More information about test driven development can be found at these resources:
8888
A Byte of Python
8989
~~~~~~~~~~~~~~~~
9090

91-
A free introductory book that teaches python at the beginner level, it assumes no
91+
A free introductory book that teaches Python at the beginner level, it assumes no
9292
previous programming experience.
9393

9494
`A Byte of Python for Python 2.x <http://www.ibiblio.org/swaroopch/byteofpython/read/>`_
@@ -137,16 +137,16 @@ A Primer on Scientific Programming with Python
137137
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138138

139139
A Primer on Scientific Programming with Python, written by Hans Petter Langtangen,
140-
mainly covers python's usage in scientific field. In the book, examples are
141-
choosen from mathematics and the natural sciences.
140+
mainly covers Python's usage in scientific field. In the book, examples are
141+
chosen from mathematics and the natural sciences.
142142

143143
`A Primer on Scientific Programming with Python <http://www.springer.com/mathematics/computational+science+%26+engineering/book/978-3-642-18365-2>`_
144144

145145
Numerical Methods in Engineering with Python
146146
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147147

148148
Numerical Methods in Engineering with Python,written by Jaan Kiusalaas, attempts to
149-
emphasis on numerical methods and how to implement them in python.
149+
emphasis on numerical methods and how to implement them in Python.
150150

151151
`Numerical Methods in Engineering with Python <http://www.cambridge.org/us/academic/subjects/engineering/engineering-mathematics-and-programming/numerical-methods-engineering-python-2nd-edition>`_
152152

@@ -157,7 +157,7 @@ Python in a Nutshell
157157
~~~~~~~~~~~~~~~~~~~~
158158

159159
Python in a Nutshell, written by Alex Martelli, covers most cross-platform
160-
python's usage, from its syntax to built-in libraries to advanced topics such
160+
Python's usage, from its syntax to built-in libraries to advanced topics such
161161
as writing C extensions.
162162

163163
`Python in a Nutshell <http://shop.oreilly.com/product/9780596001889.do>`_

docs/intro/news.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Python-related news.
1919
Pycoder's Weekly
2020
~~~~~~~~~~~~~~~~
2121

22-
Pycoder's Weekly is a free weekly python newsletter for Python developers
22+
Pycoder's Weekly is a free weekly Python newsletter for Python developers
2323
by Python developers (Project, Articles, News, and Jobs).
2424

2525
`Pycoder's Weekly <http://www.pycoders.com/>`_

docs/scenarios/admin.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Fabric
66

77
`Fabric <http://docs.fabfile.org>`_ is a library for simplifying system
88
administration tasks. While Chef and Puppet tend to focus on managing servers
9-
and system libraries, fabric is more focused on application level tasks such
9+
and system libraries, Fabric is more focused on application level tasks such
1010
as deployment.
1111

1212
Install Fabric:
@@ -77,7 +77,7 @@ It supports remote command execution from a central point (master host) to multi
7777
hosts (minions). It also supports system states which can be used to configure
7878
multiple servers using simple template files.
7979

80-
Salt supports python versions 2.6 and 2.7 and can be installed via pip:
80+
Salt supports Python versions 2.6 and 2.7 and can be installed via pip:
8181

8282
.. code-block:: console
8383
@@ -95,7 +95,7 @@ The following command lists all available minion hosts, using the ping module.
9595
The host filtering is accomplished by matching the minion id, or using the grains system.
9696
The `grains <http://docs.saltstack.org/en/latest/topics/targeting/grains.html>`_ system
9797
uses static host information like the operating system version or the CPU architecture to
98-
provide a host taxonomy for the salt modules.
98+
provide a host taxonomy for the Salt modules.
9999

100100
The following command lists all available minions running CentOS using the grains system:
101101

@@ -119,7 +119,7 @@ and start the Apache server:
119119
- require:
120120
- pkg: apache
121121
122-
State files can be written using YAML, the Jinja2 template system or pure python.
122+
State files can be written using YAML, the Jinja2 template system or pure Python.
123123

124124
`Salt Documentation <http://docs.saltstack.com>`_
125125

docs/scenarios/ci.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ which provides the following features:
4747
interpreters
4848
* Running tests in each of the environments, configuring your test tool of
4949
choice
50-
* Acting as a frontend to Continuous Integration servers, reducing boilerplate
50+
* Acting as a front-end to Continuous Integration servers, reducing boilerplate
5151
and merging CI and shell-based testing.
5252

5353

docs/scenarios/scientific.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python is frequently used for high-performance scientific applications. Python
99
is widely used in academia and scientific projects because it is easy to write,
1010
and it performs really well.
1111

12-
Due to its high performance nature, scientific computing in python often refers
12+
Due to its high performance nature, scientific computing in Python often refers
1313
to external libraries, typically written in faster languages (like C, or
1414
FORTRAN for matrix operations). The main libraries used are `NumPy`_, `SciPy`_
1515
and `Matplotlib`_. Going into detail about these libraries is beyond the scope
@@ -24,11 +24,11 @@ Tools
2424
IPython
2525
-------
2626

27-
`IPytthon <http://ipython.org/>`_ is an enhanced version of Python interpreter.
27+
`IPython <http://ipython.org/>`_ is an enhanced version of Python interpreter.
2828
The features it provides are of great interest for the scientists. The `inline mode`
2929
allow graphics and plots to be displayed in the terminal (Qt based version).
3030
Moreover the `notebook` mode supports literate programming and reproducible science
31-
generating a web-based python notebook. This notebook allowing to store chunk of
31+
generating a web-based Python notebook. This notebook allowing to store chunk of
3232
Python code along side to the results and additional comments (HTML, LaTeX, Markdown).
3333
The notebook could be shared and exported in various file formats.
3434

@@ -64,7 +64,7 @@ SciPy
6464

6565
`SciPy <http://scipy.org/>`_ is a library that uses Numpy for more mathematical
6666
functions. SciPy uses NumPy arrays as the basic data structure. SciPy comes
67-
with modules for various commonly used tasks in scientific programing, for
67+
with modules for various commonly used tasks in scientific programming, for
6868
example: linear algebra, integration (calculus), ordinary differential equation
6969
solvers and signal processing.
7070

@@ -86,7 +86,7 @@ based on Numpy and which provides many useful functions for accessing,
8686
indexing, merging and grouping data easily. The main data structure (DataFrame)
8787
is close to what could be found in the R statistical package, that is
8888
an heterogeneous data tables with name indexing, time series operations
89-
and auto-alignement of data.
89+
and auto-alignment of data.
9090

9191
Rpy2
9292
----
@@ -120,7 +120,7 @@ Many people who do scientific computing are on Windows. And yet many of the
120120
scientific computing packages are notoriously difficult to build and install.
121121
`Christoph Gohlke <http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_ however, has
122122
compiled a list of Windows binaries for many useful Python packages. The list
123-
of packages has grown from a mainly scientific python resource to a more
123+
of packages has grown from a mainly scientific Python resource to a more
124124
general list. It might be a good idea to check it out if you're on Windows.
125125

126126
Enthought Python Distribution (EPD)

docs/scenarios/web.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ and to the templates themselves.
271271
templates. This convenience can lead to uncontrolled
272272
increase in complexity, and often harder to find bugs.
273273

274-
- It is often necessary to mix javascript templates with
274+
- It is often necessary to mix JavaScript templates with
275275
HTML templates. A sane approach to this design is to isolate
276276
the parts where the HTML template passes some variable content
277-
to the javascript code.
277+
to the JavaScript code.
278278

279279

280280

@@ -370,7 +370,7 @@ The `base.html` file can be used as base for all site pages which are for exampl
370370
</body>
371371

372372

373-
The next listing is our site page (`site.html`) loaded in the python app which extends `base.html`. The content block is
373+
The next listing is our site page (`site.html`) loaded in the Python app which extends `base.html`. The content block is
374374
automatically set into the corresponding block in the base.html page.
375375

376376
.. code-block:: html

docs/scenarios/xml.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ untangle
88
an XML document and returns a Python object which mirrors the nodes and
99
attributes in its structure.
1010

11-
For example, an xml file like this:
11+
For example, an XML file like this:
1212

1313
.. code-block:: xml
1414
@@ -36,9 +36,9 @@ xmltodict
3636
---------
3737

3838
`xmltodict <http://github.com/martinblech/xmltodict>`_ is another simple
39-
library that aims at making xml feel like working with json.
39+
library that aims at making XML feel like working with JSON.
4040

41-
An xml file like this:
41+
An XML file like this:
4242

4343
.. code-block:: xml
4444
@@ -52,7 +52,7 @@ An xml file like this:
5252
</plus>
5353
</mydocument>
5454
55-
can be loaded into a python dict like this:
55+
can be loaded into a Python dict like this:
5656

5757
.. code-block:: python
5858
@@ -68,6 +68,6 @@ and then you can access elements, attributes and values like this:
6868
doc['mydocument']['plus']['@a'] # == u'complex'
6969
doc['mydocument']['plus']['#text'] # == u'element as well'
7070
71-
xmltodict also lets you roundtrip back to xml with the unparse function,
71+
xmltodict also lets you roundtrip back to XML with the unparse function,
7272
has a streaming mode suitable for handling files that don't fit in memory
7373
and supports namespaces.

docs/shipping/packaging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Go to your command prompt and type:
4646
$ python -m SimpleHTTPServer 9000
4747
4848
This runs a simple http server running on port 9000 and will list all packages
49-
(like **MyPackage**). Now you can install **MyPackage** using any python
49+
(like **MyPackage**). Now you can install **MyPackage** using any Python
5050
package installer. Using Pip, you would do it like:
5151

5252
.. code-block:: console

0 commit comments

Comments
 (0)