Skip to content

Commit a4aea3d

Browse files
committed
Re-use version_banner
1 parent 015356b commit a4aea3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bpython/args.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ def parse(args, extras=None, ignore_stdin=False):
8989
os.execv(sys.executable, [sys.executable] + args)
9090

9191
if options.version:
92-
print('bpython version', __version__, end=" ")
93-
print('on top of Python', sys.version.split()[0])
92+
print(version_banner())
9493
print('(C) 2008-2016 Bob Farrell, Andreas Stuehrk, Sebastian Ramacher, Thomas Ballinger, et al. '
9594
'See AUTHORS for detail.')
9695
raise SystemExit

0 commit comments

Comments
 (0)