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

See issue #4970.
pull/4994/merge
Tom McDermott 2019-08-06 16:18:07 +10:00 zatwierdzone przez Damien George
rodzic 6592a30f4b
commit d5a7741606
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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.