Skip to content

Commit ecfd54d

Browse files
committed
fix: Add missing closing parenthesis around type parameter type
Issue-349: #349
1 parent 4a16bf3 commit ecfd54d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/mkdocstrings_handlers/python/templates/material/_base/docstring/type_parameters.html.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Context:
124124
<code>{% include "expression.html.jinja" with context %}</code>
125125
{%- endwith -%}
126126
{%- endif -%}
127-
{%- if type_parameter.constraints or type_parameter.default -%}
127+
{%- if type_parameter.bound or type_parameter.constraints or type_parameter.default -%}
128128
)
129129
{% endif -%}
130130
–

0 commit comments

Comments
 (0)