1""" 2The separate Idle version was eliminated years ago; 3idlelib.idlever is no longer used by Idle 4and will be removed in 3.6 or later. Use 5 from sys import version 6 IDLE_VERSION = version[:version.index(' ')] 7""" 8# Kept for now only for possible existing extension use 9import warnings as w 10w.warn(__doc__, DeprecationWarning, stacklevel=2) 11from sys import version 12IDLE_VERSION = version[:version.index(' ')] 13