Skip to content

Commit 481c233

Browse files
committed
Fix grammar
"allow" is a transitive verb, which requires an object, so "allow to <verb>" is ungrammatical.
1 parent a8f1c78 commit 481c233

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ Bug fixes:
350350

351351
* Initiate a graceful shutdown on ``Control+C``.
352352

353-
* Allow to change the ``checker_class`` for the ``StyleGuide``.
353+
* Allow changing the ``checker_class`` for the ``StyleGuide``.
354354

355355

356356
1.4.2 (2013-02-10)
@@ -360,7 +360,7 @@ Bug fixes:
360360

361361
* Register new checkers with ``register_check(func_or_cls, codes)``.
362362

363-
* Allow to construct a ``StyleGuide`` with a custom parser.
363+
* Allow constructing a ``StyleGuide`` with a custom parser.
364364

365365
* Accept visual indentation without parenthesis after the ``if``
366366
statement. (Issue #151)
@@ -569,7 +569,7 @@ Bug fixes:
569569
The ``--repeat`` flag becomes obsolete because it is the default
570570
behaviour. (Issue #6)
571571

572-
* Allow to specify ``--max-line-length``. (Issue #36)
572+
* Allow specifying ``--max-line-length``. (Issue #36)
573573

574574
* Make the shebang more flexible. (Issue #26)
575575

pep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def continued_indentation(logical_line, tokens, indent_level, hang_closing,
582582
break
583583
assert len(indent) == depth + 1
584584
if start[1] not in indent_chances:
585-
# allow to line up tokens
585+
# allow lining up tokens
586586
indent_chances[start[1]] = text
587587

588588
last_token_multiline = (start[0] != end[0])

0 commit comments

Comments
 (0)