Georg Brandl committed 89294ce

Remove use of method new in docutils 0.7.

  • Participants
  • Parent commits 21d5645

Comments (0)

Files changed (1)

File sphinx/domains/

         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: