def _check_version(min_version_info, msg='Feature'):
 global _zmq_version_info
 if (_zmq_version_info is None):
  from zmq import zmq_version_info
  _zmq_version_info = zmq_version_info()
 if (_zmq_version_info < min_version_info):
  min_version = '.'.join((str(v) for v in min_version_info))
  raise ZMQVersionError(min_version, msg)

def _check_version ( min_version_info , msg = 'Feature' ) : global _zmq_version_info if ( _zmq_version_info is None ) : from zmq import zmq_version_info _zmq_version_info = zmq_version_info ( ) if ( _zmq_version_info < min_version_info ) : min_version = '.' . join ( ( str ( v ) for v in min_version_info ) ) raise ZMQVersionError ( min_version , msg )
check version string of an active module against a required version .