mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
gh-139292: avoid extra tailing blank line in python -m inspect -d <target>
(#139293)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
8d83b7df3f
commit
e45d535208
1 changed files with 1 additions and 1 deletions
|
@ -3397,7 +3397,7 @@ def _main():
|
|||
else:
|
||||
print('Line: {}'.format(lineno))
|
||||
|
||||
print('\n')
|
||||
print()
|
||||
else:
|
||||
print(getsource(obj))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue