(description: str)
return None
:param description: must be for C++
:param description: must be for C++
: param description : must be for C ++
def parse_cplusplus_version(description: str) -> Optional[str]:
    """
    :param description: must be for C++
    """

    assert is_cplusplus_description(description)
    match = re.search(r'[CG]\+\+\s?(\d\w)\b', description)
    if match:
        return match.group(1)
    return None
def parse_cplusplus_version ( description : str ) -> Optional [ str ] : assert is_cplusplus_description ( description ) match = re . search ( r'[CG]\+\+\s?(\d\w)\b' , description ) if match : return match . group ( 1 ) return None