mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
343 B
343 B
One Line Sphinx Docstring Format
def abc(a: int, c = [1,2]):
"""_summary_
:param int a: _description_
:param list c: _description_, defaults to [1,2]
:raises AssertionError: _description_
:return _type_: _description_
"""
if a > 10:
raise AssertionError("a is more than 10")
return c