Get rid of get_parent_until.

This commit is contained in:
Dave Halter committed 2017-02-03 09:59:32 +01:00
1 parent b3cb7b5490
commit 445bf6c419
9 files changed
+15 -30

No files matched your search

-3
View File
@@ -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