Commits

Georg Brandl committed 89294ce

Remove use of method new in docutils 0.7.

Comments (0)

Files changed (1)

sphinx/domains/std.py

         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: