Skip to content

Commit 63435a6

Browse files
committed
fix: to_py_signature`
1 parent 603f52d commit 63435a6

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
@@ -2372,7 +2372,7 @@ def to_py_docstring(
23722372
def to_py_signature(self) -> str:
23732373
"""Return the Python signature of the argument."""
23742374
if self.py_arg_name not in ["--", "–", ""]:
2375-
kwarg = f'{self.py_arg_name} : {self.str_types(" | ")}=""'
2375+
kwarg = f'{self.py_arg_name}: {self.str_types(" | ")}=""'
23762376
else:
23772377
kwarg = None
23782378
return kwarg

0 commit comments

Comments
 (0)