@staticmethod
def _get_key_value(line):
    """Get the key and value out of docstring line."""
    data = line.split(':')
    if len(data) == 1:
        data.append('')
    key = data[0].strip()
    value = ':'.join(data[1:]).strip()
    value_lower = value.lower()
    if value_lower in ('none', 'null'):
        value = None
    elif value_lower == 'true':
        value = True
    elif value_lower == 'false':
        value = False
    return key, value
