mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Make sure to find both stubs and non-stubs with usages
This commit is contained in:
@@ -349,3 +349,11 @@ class DefinitelyNotGlobal:
|
||||
def my_global(self):
|
||||
def my_global(self):
|
||||
pass
|
||||
|
||||
# -----------------
|
||||
# stubs
|
||||
# -----------------
|
||||
|
||||
from stub_folder import with_stub
|
||||
#< ('stub:stub_folder.with_stub', 5, 4), ('stub_folder.with_stub', 5, 4), (0, 10)
|
||||
with_stub.stub_function
|
||||
|
||||
Reference in New Issue
Block a user