Skip to content

Commit c003ac3

Browse files
committed
fix: should not an empty line for inspect -d
Signed-off-by: yihong0618 <[email protected]>
1 parent 49e83e3 commit c003ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3397,7 +3397,7 @@ def _main():
33973397
else:
33983398
print('Line: {}'.format(lineno))
33993399

3400-
print('\n')
3400+
print()
34013401
else:
34023402
print(getsource(obj))
34033403

0 commit comments

Comments
 (0)