Skip to content

Commit

Permalink
Typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyArmageddon committed Jul 16, 2013
1 parent 2e398d5 commit 55f976e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pep8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spectrum of Python code. As PEP 20 says, "Readability counts".

A style guide is about consistency. Consistency with this style guide
is important. Consistency within a project is more important.
Consistency within one module or function is most important.
Consistency within one module or function is the most important.

But most importantly: know when to be inconsistent -- sometimes the
style guide just doesn't apply. When in doubt, use your best
Expand Down Expand Up @@ -708,7 +708,7 @@ With this in mind, here are the Pythonic guidelines:
- If your public attribute name collides with a reserved keyword,
append a single trailing underscore to your attribute name. This is
preferable to an abbreviation or corrupted spelling. (However,
notwithstanding this rule, 'cls' is the preferred spelling for any
not withstanding this rule, 'cls' is the preferred spelling for any
variable or argument which is known to be a class, especially the
first argument to a class method.)

Expand Down

0 comments on commit 55f976e

Please sign in to comment.