Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-09-06 15:01:37 +0200
committerGitHub <noreply@github.com>2021-09-06 15:01:37 +0200
commit48fd68124ae62546aa72602d4f2666a635fb86ed (patch)
tree7bf9c2de4f0119bedcf05682f99d15e2c8534f78 /docs/conf.py
parentb0aa5dcbbb779a72e06132be41f087c93f44e6d9 (diff)
parent05c923524be91f2031855fce6fca6252ea21e444 (diff)
Merge branch 'master' into master
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index add1c5e7..33aeeae8 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -7,9 +7,7 @@ sys.path.insert(0, os.path.abspath('..'))
def process_docstring(app, what, name, obj, options, lines):
spaces_pat = re.compile(r"( {8})")
- ll = []
- for line in lines:
- ll.append(spaces_pat.sub(" ", line))
+ ll = [spaces_pat.sub(" ", line) for line in lines]
lines[:] = ll