docs/library: Document that sys.version_info returns a 3-tuple only.

See issue #4970.
This commit is contained in:
Tom McDermott 2019-08-06 16:18:07 +10:00 committed by Damien George
parent 6592a30f4b
commit d5a7741606

View File

@ -134,3 +134,9 @@ Constants
.. data:: version_info
Python language version that this implementation conforms to, as a tuple of ints.
.. admonition:: Difference to CPython
:class: attention
Only the first three version numbers (major, minor, micro) are supported and
they can be referenced only by index, not by name.