FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Re-use version_banner · ORG-MARS/bpython@a4aea3d · GitHub

forked from bpython/bpython

Commit a4aea3d

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL