mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-10 07:35:48 +08:00
infer_state -> inference_state
This commit is contained in:
1 parent
fffb39227e
commit
03920502c4
60 files changed
+727
-727
No files matched your search
@@ -15,24 +15,24 @@ except ImportError:
|
||||
pydoc_topics = None
|
||||
|
||||
|
||||
def get_operator(infer_state, string, pos):
|
||||
return Keyword(infer_state, string, pos)
|
||||
def get_operator(inference_state, string, pos):
|
||||
return Keyword(inference_state, string, pos)
|
||||
|
||||
|
||||
class KeywordName(AbstractArbitraryName):
|
||||
api_type = u'keyword'
|
||||
|
||||
def infer(self):
|
||||
return [Keyword(self.infer_state, self.string_name, (0, 0))]
|
||||
return [Keyword(self.inference_state, self.string_name, (0, 0))]
|
||||
|
||||
|
||||
class Keyword(object):
|
||||
api_type = u'keyword'
|
||||
|
||||
def __init__(self, infer_state, name, pos):
|
||||
self.name = KeywordName(infer_state, name)
|
||||
def __init__(self, inference_state, name, pos):
|
||||
self.name = KeywordName(inference_state, name)
|
||||
self.start_pos = pos
|
||||
self.parent = infer_state.builtins_module
|
||||
self.parent = inference_state.builtins_module
|
||||
|
||||
@property
|
||||
def names(self):
|
||||
|
||||
Reference in new issue
Block a user