Skip to content

Commit

Permalink
Fix missing signatures in format_docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
staticf0x committed Oct 10, 2023
1 parent ecefb73 commit 788348c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pylsp/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ def format_docstring(
if markup_kind == "markdown":
try:
value = docstring_to_markdown.convert(contents)
return {"kind": "markdown", "value": value}
except docstring_to_markdown.UnknownFormatError:
# try to escape the Markdown syntax instead:
value = escape_markdown(contents)
Expand Down

0 comments on commit 788348c

Please sign in to comment.