mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix flake8 violation
This commit is contained in:
parent
8e45f54d07
commit
c88193e3df
@ -1053,7 +1053,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
else:
|
||||
if self.table.has_problematic:
|
||||
colspec = ('*{%d}{p{\\dimexpr(\\linewidth-\\arrayrulewidth)/%d'
|
||||
'-2\\tabcolsep-\\arrayrulewidth\\relax}|}' % \
|
||||
'-2\\tabcolsep-\\arrayrulewidth\\relax}|}' %
|
||||
(self.table.colcount, self.table.colcount))
|
||||
self.body.append('{|' + colspec + '}\n')
|
||||
elif self.table.longtable:
|
||||
|
Loading…
Reference in New Issue
Block a user