code: def set_api_version(self, major, minor):
          
  
          if not self._is_byte(major) or not self._is_byte(minor):
              raise ArgumentError("Invalid API version number with component that does not fit in 1 byte",
                                  major=major, minor=minor)
  
          self.api_version = (major, minor)
docs: Set the API version this module was designed for.
  
          Each module must declare the mib12 API version it was compiled with as a
          2 byte major.minor number.  This information is used by the pic12_executive
          to decide whether the application is compatible.