mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove use of method new in docutils 0.7.
This commit is contained in:
parent
6c23616b2c
commit
b4558269a6
@ -236,7 +236,7 @@ class Glossary(Directive):
|
||||
in_definition = True
|
||||
was_empty = True
|
||||
messages = []
|
||||
for (source, lineno, line) in self.content.xitems():
|
||||
for line, (source, lineno) in zip(self.content, self.content.items):
|
||||
# empty line -> add to last definition
|
||||
if not line:
|
||||
if in_definition and entries:
|
||||
|
Loading…
Reference in New Issue
Block a user