diff options
Diffstat (limited to 'docs/source/generate_configs.py')
-rwxr-xr-x | docs/source/generate_configs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/generate_configs.py b/docs/source/generate_configs.py index 8ce483c4..c30f9f04 100755 --- a/docs/source/generate_configs.py +++ b/docs/source/generate_configs.py @@ -39,7 +39,7 @@ def rewrite_entries(config, path, specpath, sec=None): comments = [sec.inline_comments[entry]] + sec.comments[entry] for c in comments: if c: - description += ' '*4 + re.sub('^\s*#', '', c) + description += ' ' * 4 + re.sub(r'^\s*#', '', c) description = description.rstrip(' ') + '\n' if etype == 'option': description += '\n :type: option, one of %s\n' % eargs |