Preserve the default argument values of function signatures in source code and keep them not evaluated for readability.
Unknown Field: copyright | |
Copyright 2007-2022 by the Sphinx team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Variable | logger |
Undocumented |
Class | DefaultValue |
Undocumented |
Function | get_default_value |
Undocumented |
Function | get_function_def |
Get FunctionDef object from living object. This tries to parse original code for living object and returns AST node for given obj. |
Function | setup |
Undocumented |
Function | update_defvalue |
Update defvalue info of obj using type_comments. |
Undocumented
Parameters | |
lines:List[ | Undocumented |
position:ast.AST | Undocumented |
Returns | |
Optional[ | Undocumented |
Parameters | |
obj:Any | Undocumented |
Returns | |
ast.FunctionDef | Undocumented |
Parameters | |
app:Sphinx | Undocumented |
obj:Any | Undocumented |
bound_method:bool | Undocumented |