Skip to content

Commit 5e8a624

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

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
@@ -225,7 +225,7 @@ def _format_block_start(self, start_str, indent):
225225

226226
def _format_block_end(self, end_str, indent):
227227
if self._block_style:
228-
return '\n' + ' ' * indent + end_str
228+
return f"\n{' ' * indent}{end_str}"
229229
else:
230230
return end_str
231231

0 commit comments

Comments
 (0)