diff options
-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} |