We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b585a9 commit b34ead0Copy full SHA for b34ead0
src/mkdocstrings/templates/python/material/_base/signature.html
@@ -17,7 +17,7 @@
17
{%- set ns.render_kw_only_separator = False %}*, {% endif -%}
18
{%- endif -%}
19
20
- {%- if config.show_signature_annotations and "annotation" in parameter -%}
+ {%- if config.show_signature_annotations and parameter.annotation is not none -%}
21
{%- set annotation = ": " + parameter.annotation|safe -%}
22
23
0 commit comments