mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-9795, PY-4717 Intention "Specify type ..." works for missing docstrings in Google and Numpy formats
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
def f(x):
|
||||
"""
|
||||
|
||||
Parameters:
|
||||
x (object):
|
||||
"""
|
||||
return 42
|
||||
@@ -0,0 +1,8 @@
|
||||
def f(x):
|
||||
"""
|
||||
|
||||
Parameters
|
||||
----------
|
||||
x : object
|
||||
"""
|
||||
return 42
|
||||
@@ -0,0 +1,7 @@
|
||||
def f(x):
|
||||
"""
|
||||
|
||||
Returns:
|
||||
object:
|
||||
"""
|
||||
return 42
|
||||
@@ -0,0 +1,8 @@
|
||||
def f(x):
|
||||
"""
|
||||
|
||||
Returns
|
||||
-------
|
||||
object
|
||||
"""
|
||||
return 42
|
||||
@@ -0,0 +1,2 @@
|
||||
def f(<caret>x):
|
||||
return 42
|
||||
@@ -0,0 +1,2 @@
|
||||
def f(<caret>x):
|
||||
return 42
|
||||
@@ -0,0 +1,2 @@
|
||||
def <caret>f(x):
|
||||
return 42
|
||||
@@ -0,0 +1,2 @@
|
||||
def <caret>f(x):
|
||||
return 42
|
||||
Reference in New Issue
Block a user