From 788348c499e77e3cb730e326c2ba528929dd225b Mon Sep 17 00:00:00 2001 From: staticf0x Date: Tue, 10 Oct 2023 11:49:16 +0200 Subject: [PATCH] Fix missing signatures in format_docstring --- pylsp/_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pylsp/_utils.py b/pylsp/_utils.py index 644a00e0..9d393b92 100644 --- a/pylsp/_utils.py +++ b/pylsp/_utils.py @@ -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)