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.
_format_fields
1 parent c7262d9 commit bcc37efCopy full SHA for bcc37ef
1 file changed
devtools/prettier.py
@@ -258,8 +258,7 @@ def _format_fields(
258
for field, v in fields:
259
self._stream.write(indent_new * self._c)
260
if field: # field is falsy sometimes for odd things like call_args
261
- self._stream.write(str(field))
262
- self._stream.write('=')
+ self._stream.write(f'{field}=')
263
self._format(v, indent_new, False)
264
self._stream.write(',\n')
265
self._stream.write(indent_current * self._c + ')')
0 commit comments