summaryrefslogtreecommitdiff
path: root/astroid/inference.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-07-24 22:50:10 +0300
committerBryce Guinta <bryce.guinta@protonmail.com>2018-07-24 13:59:13 -0600
commitb8122df810a7d3e1664154fdcb9873dcfb6e2ecb (patch)
tree130f0eaa0639daa3d51117a296b596720fe86a22 /astroid/inference.py
parented835c5bf28328de87ae47ea8cfbae5774d3184e (diff)
downloadastroid-git-b8122df810a7d3e1664154fdcb9873dcfb6e2ecb.tar.gz
Spelling fixes
Diffstat (limited to 'astroid/inference.py')
-rw-r--r--astroid/inference.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/inference.py b/astroid/inference.py
index 2535f4f5..16095a2c 100644
--- a/astroid/inference.py
+++ b/astroid/inference.py
@@ -595,7 +595,7 @@ def _bin_op(instance, opnode, op, other, context, reverse=False):
def _get_binop_contexts(context, left, right):
"""Get contexts for binary operations.
- This will return two inferrence contexts, the first one
+ This will return two inference contexts, the first one
for x.__op__(y), the other one for y.__rop__(x), where
only the arguments are inversed.
"""
@@ -723,7 +723,7 @@ def _infer_binary_operation(left, right, binary_opnode, context, flow_factory):
def _infer_binop(self, context):
- """Binary operation inferrence logic."""
+ """Binary operation inference logic."""
if context is None:
context = contextmod.InferenceContext()
left = self.left