Formatting
This commit is contained in:
parent
e4c31b3466
commit
c37b8b3b90
|
@ -32,8 +32,8 @@ def format_returns(string, f):
|
||||||
|
|
||||||
def format_raises(string, f):
|
def format_raises(string, f):
|
||||||
|
|
||||||
if string == 'N/A':
|
if 'N/A' in string:
|
||||||
f.write('\n## Raises\n\nN/A')
|
f.write('\n## Raises\nN/A\n')
|
||||||
return
|
return
|
||||||
|
|
||||||
f.write('\n## Raises\n\n|exception type|reason|\n|:---:|:---:|\n')
|
f.write('\n## Raises\n\n|exception type|reason|\n|:---:|:---:|\n')
|
||||||
|
|
Loading…
Reference in New Issue