forked from VimPlug/jedi
Infer doctests and signatures uniformly, fixes #1466
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
from . import module
|
||||
|
||||
func_with_stub = module.func_with_stub
|
||||
|
||||
both: int
|
||||
stub_only: str
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
in_sub_module: int
|
||||
|
||||
|
||||
def func_with_stub(b: int) -> float:
|
||||
pass
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
from with_python import module as _module
|
||||
|
||||
func_without_stub = _module.func_without_stub
|
||||
|
||||
|
||||
python_only = 1
|
||||
both = ''
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
def func_without_stub(a):
|
||||
'nostubdoc'
|
||||
|
||||
|
||||
def func_with_stub(c):
|
||||
'withstubdoc'
|
||||
|
||||
|
||||
in_sub_module = ''
|
||||
|
||||
Reference in New Issue
Block a user