1
0
forked from VimPlug/jedi

doc/todos

This commit is contained in:
David Halter
2012-09-24 11:50:08 +02:00
parent 56a97c9df5
commit 40a61d7b9e
2 changed files with 6 additions and 3 deletions

View File

@@ -290,7 +290,10 @@ class Script(object):
return sorted(d, key=lambda x: (x.module_path, x.start_pos))
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])]
return sorted(d, key=lambda x: (x.module_path, x.start_pos))

View File

@@ -10,11 +10,11 @@ statement.
TODO magic methods: __mul__, __add__, etc.
TODO evaluate asserts/isinstance (type safety)
TODO super()
TODO nonlocal statement, needed or can be ignored? (py3k)
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