forked from VimPlug/jedi
doc/todos
This commit is contained in:
@@ -290,7 +290,10 @@ class Script(object):
|
|||||||
return sorted(d, key=lambda x: (x.module_path, x.start_pos))
|
return sorted(d, key=lambda x: (x.module_path, x.start_pos))
|
||||||
|
|
||||||
def goto(self):
|
def goto(self):
|
||||||
""" TODO doc """
|
"""
|
||||||
|
Returns the first definition found by goto. This means: It doesn't
|
||||||
|
follow imports and statements.
|
||||||
|
"""
|
||||||
d = [Definition(d) for d in set(self._goto()[0])]
|
d = [Definition(d) for d in set(self._goto()[0])]
|
||||||
return sorted(d, key=lambda x: (x.module_path, x.start_pos))
|
return sorted(d, key=lambda x: (x.module_path, x.start_pos))
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ statement.
|
|||||||
|
|
||||||
TODO magic methods: __mul__, __add__, etc.
|
TODO magic methods: __mul__, __add__, etc.
|
||||||
TODO evaluate asserts/isinstance (type safety)
|
TODO evaluate asserts/isinstance (type safety)
|
||||||
|
TODO super()
|
||||||
|
|
||||||
TODO nonlocal statement, needed or can be ignored? (py3k)
|
TODO nonlocal statement, needed or can be ignored? (py3k)
|
||||||
|
|
||||||
TODO __ instance attributes should not be visible outside of the class.
|
TODO __ instance attributes should not be visible outside of the class.
|
||||||
TODO getattr / __getattr__ / __getattribute__ ?
|
|
||||||
"""
|
"""
|
||||||
from _compatibility import next, property, hasattr, is_py3k, use_metaclass
|
from _compatibility import next, property, hasattr, is_py3k, use_metaclass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user