Updated gen docs to properly format examples

This commit is contained in:
Nanda Scott 2018-10-31 11:24:35 -04:00
parent dda076e7ba
commit c9577a125a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def format_raises(string, f):
def format_examples(string, f):
example_list = re.findall(r'>{3}[\s\w=.("+:,)]+', string)
example_list = re.findall(r'>{3}[\s\w=.("+:,\-)]+', string)
f.write('\n## Examples\n')
f.write('```python\n{}\n```\n'.format('\n'.join(example_list)))