diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2018-07-24 22:50:10 +0300 |
---|---|---|
committer | Bryce Guinta <bryce.guinta@protonmail.com> | 2018-07-24 13:59:13 -0600 |
commit | b8122df810a7d3e1664154fdcb9873dcfb6e2ecb (patch) | |
tree | 130f0eaa0639daa3d51117a296b596720fe86a22 /astroid/protocols.py | |
parent | ed835c5bf28328de87ae47ea8cfbae5774d3184e (diff) | |
download | astroid-git-b8122df810a7d3e1664154fdcb9873dcfb6e2ecb.tar.gz |
Spelling fixes
Diffstat (limited to 'astroid/protocols.py')
-rw-r--r-- | astroid/protocols.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/astroid/protocols.py b/astroid/protocols.py index 5601cab6..933c5840 100644 --- a/astroid/protocols.py +++ b/astroid/protocols.py @@ -146,10 +146,10 @@ def _multiply_seq_by_int(self, opnode, other, context): elts = [] filtered_elts = (elt for elt in self.elts if elt is not util.Uninferable) for elt in filtered_elts: - infered = helpers.safe_infer(elt, context) - if infered is None: - infered = util.Uninferable - elts.append(infered) + inferred = helpers.safe_infer(elt, context) + if inferred is None: + inferred = util.Uninferable + elts.append(inferred) node.elts = elts * other.value return node @@ -539,7 +539,7 @@ def with_assigned_stmts(self, node=None, context=None, asspath=None): assign_path=asspath, context=context) from exc except TypeError as exc: raise exceptions.InferenceError( - 'Tried to unpack an non-iterable value ' + 'Tried to unpack a non-iterable value ' 'in {node!r}.', node=self, targets=node, assign_path=asspath, context=context) from exc yield obj |