sphinx-autoapi/autoapi/templates/python/function.rst

9 lines
262 B
ReStructuredText
Raw Normal View History

{% if obj.display %}
.. function:: {{ obj.short_name }}({{ obj.args }}){% if obj.return_annotation is not none %} -> {{ obj.return_annotation }}{% endif %}
2015-04-01 00:01:41 +00:00
{% if obj.docstring %}
{{ obj.docstring|prepare_docstring|indent(3) }}
2015-04-01 00:01:41 +00:00
{% endif %}
2017-08-31 23:42:47 +00:00
{% endif %}