summaryrefslogtreecommitdiff
path: root/inference.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2009-11-23 14:29:28 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2009-11-23 14:29:28 +0100
commita08a442fa924f94e2007552e91adae16d300b946 (patch)
treea134605c9135c9f32999ef570a1874486afd7321 /inference.py
parentd432585c22ec4920f3a22f342b29ec46bf4f3d3c (diff)
downloadastroid-git-a08a442fa924f94e2007552e91adae16d300b946.tar.gz
include Dotan Barak spell fixes patch
Diffstat (limited to 'inference.py')
-rw-r--r--inference.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/inference.py b/inference.py
index f8ab6169..46d86278 100644
--- a/inference.py
+++ b/inference.py
@@ -76,7 +76,7 @@ nodes.Dict.pytype = lambda x: '__builtin__.dict'
class CallContext:
- """when infering a function call, this class is used to remember values
+ """when inferring a function call, this class is used to remember values
given as argument
"""
def __init__(self, args, starargs, dstarargs):
@@ -91,7 +91,7 @@ class CallContext:
self.dstarargs = dstarargs
def infer_argument(self, funcnode, name, context):
- """infer a function argument value according the the call context"""
+ """infer a function argument value according to the call context"""
# 1. search in named keywords
try:
return self.nargs[name].infer(context)