mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-11 16:21:51 +08:00
Lambda and Function docstrings render better.
This commit is contained in:
@@ -22,7 +22,7 @@ All nodes and leaves have these methods/properties:
|
|||||||
|
|
||||||
|
|
||||||
Python Parser Tree
|
Python Parser Tree
|
||||||
-----------------
|
------------------
|
||||||
|
|
||||||
.. automodule:: jedi.parser.python.tree
|
.. automodule:: jedi.parser.python.tree
|
||||||
:members:
|
:members:
|
||||||
|
|||||||
@@ -450,7 +450,8 @@ class Function(ClassOrFunc):
|
|||||||
"""
|
"""
|
||||||
Used to store the parsed contents of a python function.
|
Used to store the parsed contents of a python function.
|
||||||
|
|
||||||
Children:
|
Children::
|
||||||
|
|
||||||
0. <Keyword: def>
|
0. <Keyword: def>
|
||||||
1. <Name>
|
1. <Name>
|
||||||
2. parameter list (including open-paren and close-paren <Operator>s)
|
2. parameter list (including open-paren and close-paren <Operator>s)
|
||||||
@@ -520,7 +521,7 @@ class Lambda(Function):
|
|||||||
"""
|
"""
|
||||||
Lambdas are basically trimmed functions, so give it the same interface.
|
Lambdas are basically trimmed functions, so give it the same interface.
|
||||||
|
|
||||||
Children:
|
Children::
|
||||||
|
|
||||||
0. <Keyword: lambda>
|
0. <Keyword: lambda>
|
||||||
*. <Param x> for each argument x
|
*. <Param x> for each argument x
|
||||||
|
|||||||
Reference in New Issue
Block a user