code: def qgis_version_detailed():
      
      version = str(Qgis.QGIS_VERSION_INT)
      return [int(version[0]), int(version[1:3]), int(version[3:])]
docs: Get the detailed version of QGIS.
  
      :returns: List containing major, minor and patch.
      :rtype: list