From c5206b38934d8844a261957149fc15b94efe6454 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 29 Mar 2009 21:50:14 +0000 Subject: [PATCH] use the awesome new status iterator --- Doc/tools/sphinxext/pyspecific.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py index e6f8d43531c..f00a8997524 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