Skip to content

Commit ae42174

Browse files
author
Russell Stewart
committed
Added python sys.version information to py -V output.
1 parent 94c8a10 commit ae42174

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pythonpy/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
from . import __version__
1616
except (ImportError, ValueError, SystemError):
1717
__version__ = '???' # NOQA
18-
__version_info__ = '%s version %s' % (os.path.basename(sys.argv[0]), __version__)
18+
__version_info__ = '''%s version %s
19+
python version %s''' % (os.path.basename(sys.argv[0]), __version__, sys.version)
1920

2021

2122
def import_matches(query, prefix=''):

0 commit comments

Comments
 (0)