From: Benjamin Peterson Date: Sun, 29 Mar 2009 21:50:14 +0000 (+0000) Subject: use the awesome new status iterator X-Git-Tag: v2.7a1~1756 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5206b38934d8844a261957149fc15b94efe6454;p=python use the awesome new status iterator --- diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py index e6f8d43531..f00a899752 100644 --- a/Doc/tools/sphinxext/pyspecific.py +++ b/Doc/tools/sphinxext/pyspecific.py @@ -74,7 +74,9 @@ class PydocTopicsBuilder(Builder): def write(self, *ignored): 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: self.warn('label %r not in documentation' % label) continue