From c9577a125acd2a821ae8289aeef9a6d3a9498370 Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Wed, 31 Oct 2018 11:24:35 -0400 Subject: [PATCH] Updated gen docs to properly format examples --- gen_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_docs.py b/gen_docs.py index 4e8d45a..90141d3 100644 --- a/gen_docs.py +++ b/gen_docs.py @@ -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)))