Skip to content

Commit 5abab85

Browse files
Update Lib/pprint.py
Co-authored-by: donBarbos <[email protected]>
1 parent 4e7fbff commit 5abab85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _format(self, object, stream, indent, allowance, context, level):
219219

220220
def _format_block_start(self, start_str, indent):
221221
if self._block_style:
222-
return start_str +'\n' + ' ' * indent
222+
return f"{start_str}\n{' ' * indent}"
223223
else:
224224
return start_str
225225

0 commit comments

Comments
 (0)