@@ -9,7 +9,7 @@ recognised fact that code is read much more often than it is written.
9
9
One reason for Python code to be easily read and understood is its relatively
10
10
complete set of Code Style guidelines and "Pythonic" idioms.
11
11
12
- Moreover, when a veteran Python developer (a Pythonistas ) point to some
12
+ Moreover, when a veteran Python developer (a Pythonista ) point to some
13
13
parts of a code and say it is not "Pythonic", it usually means that these lines
14
14
of code do not follow the common guidelines and fail to express the intent in
15
15
what is considered the best (hear: most readable) way.
@@ -128,7 +128,7 @@ called with each recipient as an argument: ``send('Hello', 'God', 'Mom',
128
128
'Cthulhu') ``, and in the function body ``args `` will be equal to ``('God',
129
129
'Mom', 'Cthulhu') ``.
130
130
131
- However, this construct has some drawback and should be used with caution. If a
131
+ However, this construct has some drawbacks and should be used with caution. If a
132
132
function receives a list of arguments of the same nature, it is often more
133
133
clear to define it as a function of one argument, that argument being a list or
134
134
any sequence. Here, if ``send `` has multiple recipients, it is better to define
@@ -156,7 +156,7 @@ Python functions that are:
156
156
157
157
* easy to read (the name and arguments need no explanations)
158
158
159
- * easy to change (adding a new keyword argument do not break other parts of the
159
+ * easy to change (adding a new keyword argument does not break other parts of the
160
160
code)
161
161
162
162
Avoid the magical wand
@@ -178,8 +178,8 @@ possibilities, because it grows the confidence that no hard-wall will be on the
178
178
way. However, knowing how to use them and particularly when **not ** to use
179
179
them is the most important.
180
180
181
- Like a Kungfu master, a pythonistas knows how to kill with a single finger, and
182
- never do it.
181
+ Like a Kungfu master, a Pythonista knows how to kill with a single finger, and
182
+ never to do it.
183
183
184
184
We are all consenting adults
185
185
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments