docs: def get_minor_version(version, remove=None):
      """Return minor version of a provided version string. Minor version is the
      second component in the dot-separated version string. For non-version-like
      strings this function returns ``None``.
  
      The ``remove`` parameter is deprecated since version 1.18 and will be
      removed in the future.
  
      :param version: Version string
      :type version: str
      :rtype: str
      """
      if remove:
          warnings.warn("remove argument is deprecated", DeprecationWarning)
      version_split = version.split(".")
      try:
          # Assume MAJOR.MINOR.REST...
          return version_split[1]
      except IndexError:
          return None