Skip to content

Commit 78c66f4

Browse files
committed
fix: to_py_docstring - 2
1 parent 913f673 commit 78c66f4

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
@@ -2378,7 +2378,7 @@ def to_py_docstring(
23782378
rst_description = textwrap.indent(rst_description, description_indent)
23792379
list_description = rst_description.split("\n")
23802380

2381-
docstring = [f"{indent}{self.py_arg_name} : {self.str_types(" or ")}"]
2381+
docstring = [f'{indent}{self.py_arg_name} : {self.str_types(" or ")}']
23822382
docstring.extend(list_description)
23832383
else:
23842384
docstring = []

0 commit comments

Comments
 (0)