1. Brian Hunter
  2. sphinx

Commits

Georg Brandl  committed 89294ce

Remove use of method new in docutils 0.7.

  • Participants
  • Parent commits 21d5645
  • Branches default

Comments (0)

Files changed (1)

File sphinx/domains/std.py

View file
         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: