mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 17:58:35 +08:00
make it easier to debug bugs like #220, in dynamic param searching
This commit is contained in:
+2
-1
@@ -109,7 +109,8 @@ def get_directory_modules_for_name(mods, name):
|
|||||||
if entry.endswith('.py'):
|
if entry.endswith('.py'):
|
||||||
paths.add(d + os.path.sep + entry)
|
paths.add(d + os.path.sep + entry)
|
||||||
|
|
||||||
for p in paths:
|
for p in sorted(paths):
|
||||||
|
# make testing easier, sort it - same results on every interpreter
|
||||||
c = check_python_file(p)
|
c = check_python_file(p)
|
||||||
if c is not None and c not in mods:
|
if c is not None and c not in mods:
|
||||||
yield c
|
yield c
|
||||||
|
|||||||
Reference in New Issue
Block a user