mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Removed map(None, ...) usage
This commit is contained in:
parent
e97122236d
commit
4adbc98350
@ -390,7 +390,7 @@ class TextTranslator(nodes.NodeVisitor):
|
||||
self.add_text(''.join(out) + '\n')
|
||||
|
||||
def writerow(row):
|
||||
lines = map(None, *row)
|
||||
lines = zip(*row)
|
||||
for line in lines:
|
||||
out = ['|']
|
||||
for i, cell in enumerate(line):
|
||||
|
Loading…
Reference in New Issue
Block a user