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.
1 parent 3decd1c commit a7c0e65Copy full SHA for a7c0e65
1 file changed
src/xulbux/console.py
@@ -170,8 +170,10 @@ def __ne__(self, other: object) -> bool:
170
def __repr__(self) -> str:
171
if not self:
172
return "Args()"
173
- arg_results_reprs = (f"{key} = {'\n '.join(repr(val).splitlines())}" for key, val in self.__iter__())
174
- return f"Args(\n {',\n '.join(arg_results_reprs)}\n)"
+ return "Args(\n " + ",\n ".join(
+ f"{key} = " + "\n ".join(repr(val).splitlines()) \
175
+ for key, val in self.__iter__()
176
+ ) + "\n)"
177
178
def __str__(self) -> str:
179
return self.__repr__()
0 commit comments