Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc3af98

Browse filesBrowse files
author
Kenneth Reitz
committed
Merge pull request realpython#183 from thomasballinger/spelling-fix
Spelling fixes in style guide
2 parents 3cdb586 + a8e36af commit dc3af98
Copy full SHA for dc3af98

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎docs/writing/style.rst

Copy file name to clipboardExpand all lines: docs/writing/style.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ recognised fact that code is read much more often than it is written.
99
One reason for Python code to be easily read and understood is its relatively
1010
complete set of Code Style guidelines and "Pythonic" idioms.
1111

12-
Moreover, when a veteran Python developer (a Pythonistas) point to some
12+
Moreover, when a veteran Python developer (a Pythonista) point to some
1313
parts of a code and say it is not "Pythonic", it usually means that these lines
1414
of code do not follow the common guidelines and fail to express the intent in
1515
what is considered the best (hear: most readable) way.
@@ -128,7 +128,7 @@ called with each recipient as an argument: ``send('Hello', 'God', 'Mom',
128128
'Cthulhu')``, and in the function body ``args`` will be equal to ``('God',
129129
'Mom', 'Cthulhu')``.
130130

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
132132
function receives a list of arguments of the same nature, it is often more
133133
clear to define it as a function of one argument, that argument being a list or
134134
any sequence. Here, if ``send`` has multiple recipients, it is better to define
@@ -156,7 +156,7 @@ Python functions that are:
156156

157157
* easy to read (the name and arguments need no explanations)
158158

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
160160
code)
161161

162162
Avoid the magical wand
@@ -178,8 +178,8 @@ possibilities, because it grows the confidence that no hard-wall will be on the
178178
way. However, knowing how to use them and particularly when **not** to use
179179
them is the most important.
180180

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.
183183

184184
We are all consenting adults
185185
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.