{{ log.debug("Rendering raises section") }} {% if config.docstring_section_style == "table" %} {% block table_style %}
| Type | Description |
|---|---|
{% if raises.annotation %}
{% with expression = raises.annotation %}
{% include "expression.html" with context %}
{% endwith %}
{% endif %}
|
{{ raises.description|convert_markdown(heading_level, html_id) }} |
{{ section.title or "Raises:" }}
{% include "expression.html" with context %}
{% endwith %}
–
{% endif %}
{{ raises.description|convert_markdown(heading_level, html_id) }}
| {{ (section.title or "RAISES").rstrip(":").upper() }} | DESCRIPTION |
|---|---|
{% with expression = raises.annotation %}
{% include "expression.html" with context %}
{% endwith %}
|
{{ raises.description|convert_markdown(heading_level, html_id) }} |