Formatting

This commit is contained in:
Nanda Scott 2018-10-28 02:02:26 -04:00
parent e4c31b3466
commit c37b8b3b90
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ def format_returns(string, f):
def format_raises(string, f):
if string == 'N/A':
f.write('\n## Raises\n\nN/A')
if 'N/A' in string:
f.write('\n## Raises\nN/A\n')
return
f.write('\n## Raises\n\n|exception type|reason|\n|:---:|:---:|\n')