]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use sys.version_info, not sys.version.
authorZachary Ware <zachary.ware@gmail.com>
Wed, 17 Aug 2016 14:51:20 +0000 (09:51 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Wed, 17 Aug 2016 14:51:20 +0000 (09:51 -0500)
commit54005afeeebddbd5b211307b743b591a4cdb7750
tree221615466106ab352cb39ff7ee578a5017c783f1
parent3da57436ba6265de2a6abb3846e6e3a8e2c02322
Use sys.version_info, not sys.version.

sys.version[0] gives a string, which fails > comparison with 2.
Reported by Arne Maximilian Richter on docs@
Doc/howto/pyporting.rst