diff options
author | Steven Myint <git@stevenmyint.com> | 2015-09-29 17:40:27 -0700 |
---|---|---|
committer | Steven Myint <git@stevenmyint.com> | 2015-09-29 17:40:27 -0700 |
commit | 2a254e8332aa1d48a40eb2a9d6266de550063815 (patch) | |
tree | 5a00393389024e78f2597c04bc8b1ba9b5733641 | |
parent | 7bf06d9d67595dc82c28fdfdf0115ede02044471 (diff) | |
parent | ffe2d4ed41e85a4e2f6bb2a4c90f2b6b2f2e5102 (diff) | |
download | pyflakes-2a254e8332aa1d48a40eb2a9d6266de550063815.tar.gz |
Merge pull request #36 from pyflakes/typo
Fix typos
-rw-r--r-- | NEWS.txt | 2 | ||||
-rw-r--r-- | pyflakes/messages.py | 2 | ||||
-rw-r--r-- | pyflakes/reporter.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -126,7 +126,7 @@ - Recognize __builtins__ as a defined name. - Improve pyflakes support for python versions 2.3-2.5 - Support for if-else expressions and with statements. - - Warn instead of error on non-existant file paths. + - Warn instead of error on non-existent file paths. - Check for __future__ imports after other statements. - Add reporting for some types of import shadowing. - Improve reporting of unbound locals diff --git a/pyflakes/messages.py b/pyflakes/messages.py index 8899b7b..40e0cfe 100644 --- a/pyflakes/messages.py +++ b/pyflakes/messages.py @@ -110,7 +110,7 @@ class LateFutureImport(Message): class UnusedVariable(Message): """ - Indicates that a variable has been explicity assigned to but not actually + Indicates that a variable has been explicitly assigned to but not actually used. """ message = 'local variable %r is assigned to but never used' diff --git a/pyflakes/reporter.py b/pyflakes/reporter.py index ae645bd..8b56e74 100644 --- a/pyflakes/reporter.py +++ b/pyflakes/reporter.py @@ -38,7 +38,7 @@ class Reporter(object): def syntaxError(self, filename, msg, lineno, offset, text): """ - There was a syntax errror in C{filename}. + There was a syntax error in C{filename}. @param filename: The path to the file with the syntax error. @ptype filename: C{unicode} |