[docs] Python Versions
Zachary Ware
zachary.ware+pydocs at gmail.com
Wed Aug 17 10:53:36 EDT 2016
On Wed, Aug 17, 2016 at 4:41 AM, Richter, Arne Maximilian
<ArneMaximilian.Richter at baslerweb.com> wrote:
> Hello,
>
> On the page https://docs.python.org/3/howto/pyporting.html for the version
> 3.5.2 and 3.6.0a4 is a mistake. The call “sys.version[0]” returns the
> version in form of a string and can therefore not be used in the way of
> “sys.version [0] == 3”. This can be fixed by using “sys.version_info[0]”
> which returns the information’s as number. Also are the information’s not
> included in the 3.4 documentation, while older versions are correct.
Thanks for the report! This has now been fixed.
--
Zach
More information about the docs
mailing list