Kaydet (Commit) c5206b38 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

use the awesome new status iterator

üst 83db7652
...@@ -74,7 +74,9 @@ class PydocTopicsBuilder(Builder): ...@@ -74,7 +74,9 @@ class PydocTopicsBuilder(Builder):
def write(self, *ignored): def write(self, *ignored):
writer = TextWriter(self) writer = TextWriter(self)
for label in self.status_iterator(pydoc_topic_labels, 'building topics... '): for label in self.status_iterator(pydoc_topic_labels,
'building topics... ',
length=len(pydoc_topic_labels)):
if label not in self.env.labels: if label not in self.env.labels:
self.warn('label %r not in documentation' % label) self.warn('label %r not in documentation' % label)
continue continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment