parameters: (self, major, minor)
docstring: Exit abnormally if the Python version is not late enough.
docstring_summary: Exit abnormally if the Python version is not late enough.
docstring_tokens: Exit abnormally if the Python version is not late enough .
function: def EnsurePythonVersion(self, major, minor):
          """Exit abnormally if the Python version is not late enough."""
          if sys.version_info < (major, minor):
              v = sys.version.split()[0]
              print("Python %d.%d or greater required, but you have Python %s" %(major,minor,v))
              sys.exit(2)
function_tokens: def EnsurePythonVersion ( self , major , minor ) : if sys . version_info < ( major , minor ) : v = sys . version . split ( ) [ 0 ] print ( "Python %d.%d or greater required, but you have Python %s" % ( major , minor , v ) ) sys . exit ( 2 )