Top > Python > Version
  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
  • Go to Python/Version.

* sys.version_info [#o7ad6fdd]

 % python2 -c "import sys; print(sys.version_info.major)"
 2
 % python3 -c "import sys; print(sys.version_info.major)"
 3

*. [#bb75489f]

- [[six.PY2]]



Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes