Skip to content

Commit 885696e

Browse files
committed
refactor: Don't add trailing parentheses in functions heading when separate signature
1 parent 52919c5 commit 885696e

File tree

1 file changed

+1
-1
lines changed
  • src/mkdocstrings_handlers/python/templates/material/_base

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/function.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
toc_label=function.name ~ "()") %}
2424

2525
{% if config.separate_signature %}
26-
{% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %}()
26+
{% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %}
2727
{% else %}
2828
{% filter highlight(language="python", inline=True) %}
2929
{% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %}

0 commit comments

Comments
 (0)