mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-18 14:29:40 +08:00
Remove Todos that didn't make sense.
This commit is contained in:
@@ -71,7 +71,6 @@ class CompiledObject(Base):
|
|||||||
yield CompiledName(cls, name)
|
yield CompiledName(cls, name)
|
||||||
|
|
||||||
def instance_names(self):
|
def instance_names(self):
|
||||||
# TODO REMOVE (temporary until the Instance method is removed)
|
|
||||||
return self.get_defined_names()
|
return self.get_defined_names()
|
||||||
|
|
||||||
def get_subscope_by_name(self, name):
|
def get_subscope_by_name(self, name):
|
||||||
|
|||||||
@@ -262,7 +262,6 @@ class Class(use_metaclass(CachedMetaClass, pr.IsScope)):
|
|||||||
|
|
||||||
@memoize_default(default=())
|
@memoize_default(default=())
|
||||||
def instance_names(self):
|
def instance_names(self):
|
||||||
# TODO REMOVE instance_names
|
|
||||||
def in_iterable(name, iterable):
|
def in_iterable(name, iterable):
|
||||||
""" checks if the name is in the variable 'iterable'. """
|
""" checks if the name is in the variable 'iterable'. """
|
||||||
for i in iterable:
|
for i in iterable:
|
||||||
|
|||||||
Reference in New Issue
Block a user