mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-09 23:31:26 +08:00
start_pos is usually not needed to search in modules, but if we generalize that, things get a lot slower - tests still pass - but the slowness is probably due to some weird recursion catching that now happens and that Jedi runs into, e.g. check ./run.py std 27 --debug
This commit is contained in:
@@ -279,6 +279,8 @@ class Builtin(CompiledObject):
|
||||
# access it.
|
||||
return [d for d in super(Builtin, self).get_defined_names() if d.name != 'None']
|
||||
|
||||
get_set_vars = get_defined_names
|
||||
|
||||
|
||||
def _a_generator(foo):
|
||||
"""Used to have an object to return for generators."""
|
||||
|
||||
Reference in New Issue
Block a user