28 lines
478 B
Markdown
28 lines
478 B
Markdown
# docBlockr Docstring Format
|
|
|
|
```python
|
|
def abc(a: int, c = [1,2]):
|
|
"""_summary_
|
|
|
|
Arguments:
|
|
a {int} -- _description_
|
|
|
|
Keyword Arguments:
|
|
c {list} -- _description_ (default: {[1,2]})
|
|
|
|
Raises:
|
|
AssertionError: _description_
|
|
|
|
Returns:
|
|
_type_ -- _description_
|
|
"""
|
|
if a > 10:
|
|
raise AssertionError("a is more than 10")
|
|
|
|
return c
|
|
if a > 10:
|
|
raise AssertionError("a is more than 10")
|
|
|
|
return c
|
|
```
|