We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
to_py_signature
1 parent 603f52d commit 63435a6Copy full SHA for 63435a6
src/pyconverter/xml2py/ast_tree.py
@@ -2372,7 +2372,7 @@ def to_py_docstring(
2372
def to_py_signature(self) -> str:
2373
"""Return the Python signature of the argument."""
2374
if self.py_arg_name not in ["--", "–", ""]:
2375
- kwarg = f'{self.py_arg_name} : {self.str_types(" | ")}=""'
+ kwarg = f'{self.py_arg_name}: {self.str_types(" | ")}=""'
2376
else:
2377
kwarg = None
2378
return kwarg
0 commit comments