File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Filter options
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ background information about Python, then focuses on next steps.
101
101
102
102
--------------------------------------
103
103
104
- Contibution notes and legal information are here (for those interested).
104
+ Contribution notes and legal information are here (for those interested).
105
105
106
106
.. toctree::
107
107
:maxdepth: 2
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ The following command lists all available minion hosts, using the ping module.
91
91
92
92
$ salt ' *' test.ping
93
93
94
- The host filtering is acomplished by matching the minion id, or using the grains system.
94
+ The host filtering is accomplished by matching the minion id, or using the grains system.
95
95
The `grains <http://docs.saltstack.org/en/latest/topics/targeting/grains.html >`_ system
96
96
uses static host information like the operating system version or the CPU architecture to
97
97
provide a host taxonomy for the salt modules.
Original file line number Diff line number Diff line change 40
40
---
41
41
PyGTK provides Python bindings for the GTK+ toolkit. Like the GTK+ library
42
42
itself, it is currently licensed under the GNU LGPL. It is worth noting that
43
- PyGTK only currenty supports the Gtk-2.X API (NOT Gtk-3.0). It is currently
43
+ PyGTK only currently supports the Gtk-2.X API (NOT Gtk-3.0). It is currently
44
44
recommended that PyGTK is not used for new projects and existing applications
45
45
be ported from PyGTK to PyGObject.
46
46
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ The GIL
42
42
43
43
`The GIL `_ (Global Interpreter Lock) is how Python allows multiple threads to
44
44
operate at the same time. Python's memory management isn't entirely thread-safe,
45
- so the GIL is requried to prevents multiple threads from running the same
45
+ so the GIL is required to prevents multiple threads from running the same
46
46
Python code at once.
47
47
48
48
David Beazley has a great `guide `_ on how the GIL operates. He also covers the
@@ -51,7 +51,7 @@ Python application requires a strong understanding of the GIL, how it affects
51
51
your specific application, how many cores you have, and where your application
52
52
bottlenecks are.
53
53
54
- C Extentions
54
+ C Extensions
55
55
------------
56
56
57
57
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ clearer construct is sufficient to express the function's intention.
151
151
It is up to the programmer writing the function to determine which arguments
152
152
are positional arguments and which are optional keyword arguments, and to
153
153
decide whether to use the advanced techniques of arbitrary argument passing. If
154
- the advices above are followed wisely, it is possible and enjoyable to write
154
+ the advice above is followed wisely, it is possible and enjoyable to write
155
155
Python functions that are:
156
156
157
157
* easy to read (the name and arguments need no explanations)
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ always returns the same result (but only for the duration of the test).
290
290
# get_search_results runs a search and iterates over the result
291
291
self.assertEqual(len(myapp.get_search_results(q="fish")), 3)
292
292
293
- Mock has many other ways you can configure it and control its behaviour .
293
+ Mock has many other ways you can configure it and control its behavior .
294
294
295
295
`mock <http://www.voidspace.org.uk/python/mock/ >`_
296
296
You can’t perform that action at this time.
0 commit comments