Skip to content

Commit a7aed2f

Browse files
committed
fix: to_py_docstring
1 parent bfb6b0a commit a7aed2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyconverter/xml2py/ast_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2365,7 +2365,7 @@ def to_py_docstring(
23652365
) -> List[str]:
23662366
"""Return a list of string to enable converting the element to an RST format."""
23672367
if self.py_arg_name not in ["--", "–", ""]:
2368-
docstring = [f"{indent}{self.py_arg_name} : {self.str_types(" or ")}"]
2368+
docstring = [f'{indent}{self.py_arg_name} : {self.str_types(" or ")}']
23692369
rst_description = self._description.to_rst(
23702370
indent=indent, max_length=max_length, links=links, base_url=base_url, fcache=fcache
23712371
)

0 commit comments

Comments
 (0)