diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 13:03:53 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 13:03:53 +0900 |
commit | 38d6c34f35c60689f22d1f71ce650ca1e3005ec4 (patch) | |
tree | 0677416d0de03a53ee7d348289d8560e511c2bed /sphinx/directives/other.py | |
parent | ef912eb9a3e923e80d5c6a08fda4597a65d591aa (diff) | |
parent | 478306e052d9711170b1fbe63635edef02853484 (diff) | |
download | sphinx-git-38d6c34f35c60689f22d1f71ce650ca1e3005ec4.tar.gz |
Merge branch 'stable'
Diffstat (limited to 'sphinx/directives/other.py')
-rw-r--r-- | sphinx/directives/other.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py index 06a3f745d..801fd8cad 100644 --- a/sphinx/directives/other.py +++ b/sphinx/directives/other.py @@ -215,7 +215,7 @@ class VersionChange(Directive): text = versionlabels[self.name] % self.arguments[0] if len(self.arguments) == 2: inodes, messages = self.state.inline_text(self.arguments[1], - self.lineno+1) + self.lineno + 1) para = nodes.paragraph(self.arguments[1], '', *inodes, translatable=False) set_source_info(self, para) node.append(para) @@ -340,7 +340,7 @@ class HList(Directive): index = 0 newnode = addnodes.hlist() for column in range(ncolumns): - endindex = index + (column < nmore and (npercol+1) or npercol) + endindex = index + (column < nmore and (npercol + 1) or npercol) col = addnodes.hlistcol() col += nodes.bullet_list() col[0] += fulllist.children[index:endindex] |