File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/mkdocstrings_handlers/python/templates/material/_base Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111 )
1212 -%}
1313
14- {%- if config.show_signature_annotations -%}
15- {%- set ns.equal = " = " -%}
16- {%- endif -%}
17-
1814 (
1915 {%- for parameter in function.parameters -%}
2016 {%- if parameter.name not in ("self", "cls") or loop.index0 > 0 or not (function.parent and function.parent.is_class) -%}
3127 {%- endif -%}
3228
3329 {%- if config.show_signature_annotations and parameter.annotation is not none -%}
30+ {%- set ns.equal = " = " -%}
3431 {%- if config.separate_signature and config.signature_crossrefs -%}
3532 {%- with expression = parameter.annotation -%}
3633 {%- set ns.annotation -%}: {% include "expression.html" with context %}{%- endset -%}
3734 {%- endwith -%}
3835 {%- else -%}
3936 {%- set ns.annotation = ": " + parameter.annotation|safe -%}
4037 {%- endif -%}
38+ {%- else -%}
39+ {%- set ns.equal = "=" -%}
40+ {%- set ns.annotation = "" -%}
4141 {%- endif -%}
4242
4343 {%- if parameter.default is not none and parameter.kind.value != "variadic positional" and parameter.kind.value != "variadic keyword" -%}
You can’t perform that action at this time.
0 commit comments