summaryrefslogtreecommitdiff
path: root/sphinx/writers/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/writers/text.py')
-rw-r--r--sphinx/writers/text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/writers/text.py b/sphinx/writers/text.py
index 976ba504a..3bce03ac6 100644
--- a/sphinx/writers/text.py
+++ b/sphinx/writers/text.py
@@ -233,8 +233,8 @@ class Table:
linestr.append(
" " +
physical_text.ljust(
- self.cell_width(cell, self.measured_widths) + 1 + adjust_len
- ) + "|"
+ self.cell_width(cell, self.measured_widths) + 1 + adjust_len,
+ ) + "|",
)
out.append("".join(linestr))
out.append(writesep("-"))
@@ -759,7 +759,7 @@ class TextTranslator(SphinxTranslator):
def visit_entry(self, node: Element) -> None:
self.entry = Cell(
- rowspan=node.get("morerows", 0) + 1, colspan=node.get("morecols", 0) + 1
+ rowspan=node.get("morerows", 0) + 1, colspan=node.get("morecols", 0) + 1,
)
self.new_state(0)