mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-14 00:29:01 +08:00
Refactor Evaluator.wrap to use the types in a more consequent way.
This commit is contained in:
1 parent
a3b263a599
commit
689284c615
5 files changed
+19
-10
No files matched your search
@@ -67,6 +67,8 @@ keywords_only_valid_as_leaf = (
|
||||
|
||||
|
||||
class Keyword(object):
|
||||
type = 'completion_keyword'
|
||||
|
||||
def __init__(self, evaluator, name, pos):
|
||||
self.name = FakeName(name, self, pos)
|
||||
self.start_pos = pos
|
||||
|
||||
Reference in new issue
Block a user