Skip to content

Commit

Permalink
Merge pull request #150 from jwilk/spelling
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
takluyver committed Jan 2, 2017
2 parents 5cca54d + d371e45 commit 3eed11a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Released 2014-10-14.
similar fixers from ``lib2to3``.
* Fixed a bug where ``fix_raise_six`` was adding an incorrect import
statement.
* Support for targetting Python 2.5 or lower has been officially dropped.
* Support for targeting Python 2.5 or lower has been officially dropped.
(Previously some fixers did output constructs that were only added in
Python 2.6, such as the ``except ... as`` construct, but this was not
documented.)
Expand Down
4 changes: 2 additions & 2 deletions libmodernize/fixes/fix_metaclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

def has_metaclass(parent):
""" we have to check the cls_node without changing it.
There are two possiblities:
There are two possibilities:
1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
2) clsdef => simple_stmt => expr_stmt => Leaf('__meta')
"""
Expand Down Expand Up @@ -126,7 +126,7 @@ def find_metas(cls_node):
left_node = expr_node.children[0]
if isinstance(left_node, Leaf) and \
left_node.value == u'__metaclass__':
# We found a assignment to __metaclass__.
# We found an assignment to __metaclass__.
fixup_simple_stmt(node, i, simple_node)
remove_trailing_newline(simple_node)
yield (node, i, simple_node)
Expand Down

0 comments on commit 3eed11a

Please sign in to comment.