From 481c233ffe07c13ff164bb4ce25e6791ec3e1494 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Wed, 25 May 2016 21:44:33 +0200 Subject: Fix grammar "allow" is a transitive verb, which requires an object, so "allow to " is ungrammatical. --- CHANGES.txt | 6 +++--- pep8.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index d25315a..d22214f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -350,7 +350,7 @@ Bug fixes: * Initiate a graceful shutdown on ``Control+C``. -* Allow to change the ``checker_class`` for the ``StyleGuide``. +* Allow changing the ``checker_class`` for the ``StyleGuide``. 1.4.2 (2013-02-10) @@ -360,7 +360,7 @@ Bug fixes: * Register new checkers with ``register_check(func_or_cls, codes)``. -* Allow to construct a ``StyleGuide`` with a custom parser. +* Allow constructing a ``StyleGuide`` with a custom parser. * Accept visual indentation without parenthesis after the ``if`` statement. (Issue #151) @@ -569,7 +569,7 @@ Bug fixes: The ``--repeat`` flag becomes obsolete because it is the default behaviour. (Issue #6) -* Allow to specify ``--max-line-length``. (Issue #36) +* Allow specifying ``--max-line-length``. (Issue #36) * Make the shebang more flexible. (Issue #26) diff --git a/pep8.py b/pep8.py index 0d329f3..207af15 100755 --- a/pep8.py +++ b/pep8.py @@ -582,7 +582,7 @@ def continued_indentation(logical_line, tokens, indent_level, hang_closing, break assert len(indent) == depth + 1 if start[1] not in indent_chances: - # allow to line up tokens + # allow lining up tokens indent_chances[start[1]] = text last_token_multiline = (start[0] != end[0]) -- cgit v1.2.1