Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 372 Bytes

google.md

File metadata and controls

21 lines (16 loc) · 372 Bytes

Google Docstring Format

def abc(a: int, c = [1,2]):
    """_summary_

    Args:
        a (int): _description_
        c (list, optional): _description_. Defaults to [1,2].

    Raises:
        AssertionError: _description_

    Returns:
        _type_: _description_
    """
    if a > 10:
        raise AssertionError("a is more than 10")

    return c