From ffe2d4ed41e85a4e2f6bb2a4c90f2b6b2f2e5102 Mon Sep 17 00:00:00 2001 From: Steven Myint Date: Tue, 22 Sep 2015 06:56:47 -0700 Subject: Fix typos --- NEWS.txt | 2 +- pyflakes/messages.py | 2 +- pyflakes/reporter.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.txt b/NEWS.txt index 1b6ad16..f69107a 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -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} -- cgit v1.2.1