def get_minor_version(version, remove=None):
if remove:<EOL><INDENT>warnings.warn("<STR_LIT>", DeprecationWarning)<EOL><DEDENT>version_split = version.split("<STR_LIT:.>")<EOL>try:<EOL><INDENT>return version_split[<NUM_LIT:1>]<EOL><DEDENT>except IndexError:<EOL><INDENT>return None<EOL><DEDENT>
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