mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-10 06:55:47 +08:00
Get rid of get_parent_until.
This commit is contained in:
1 parent
b3cb7b5490
commit
445bf6c419
9 files changed
+15
-30
No files matched your search
@@ -90,9 +90,6 @@ class Keyword(object):
|
||||
self.start_pos = pos
|
||||
self.parent = evaluator.BUILTINS
|
||||
|
||||
def get_parent_until(self):
|
||||
return self.parent
|
||||
|
||||
@property
|
||||
def only_valid_as_leaf(self):
|
||||
return self.name.value in keywords_only_valid_as_leaf
|
||||
|
||||
Reference in new issue
Block a user