mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-17 08:41:25 +08:00
Sphinx oneline param type declaration feature
allows for type definition in ":param keyword"
This commit is contained in:
1 parent
293fa5a14f
commit
d359f5d043
4 files changed
+24
-4
No files matched your search
@@ -119,10 +119,11 @@ http://sphinx-doc.org/domains.html#info-field-lists
|
||||
|
||||
::
|
||||
|
||||
def myfunction(node):
|
||||
def myfunction(node, foo):
|
||||
"""Do something with a ``node``.
|
||||
|
||||
:type node: ProgramNode
|
||||
:param str foo: foo parameter description
|
||||
|
||||
"""
|
||||
node.| # complete here
|
||||
|
||||
Reference in new issue
Block a user