[Python-checkins] r70700 - python/trunk/Doc/tools/sphinxext/pyspecific.py

benjamin.peterson python-checkins at python.org
Sun Mar 29 23:50:15 CEST 2009


Author: benjamin.peterson
Date: Sun Mar 29 23:50:14 2009
New Revision: 70700

Log:
use the awesome new status iterator

Modified:
   python/trunk/Doc/tools/sphinxext/pyspecific.py

Modified: python/trunk/Doc/tools/sphinxext/pyspecific.py
==============================================================================
--- python/trunk/Doc/tools/sphinxext/pyspecific.py	(original)
+++ python/trunk/Doc/tools/sphinxext/pyspecific.py	Sun Mar 29 23:50:14 2009
@@ -74,7 +74,9 @@
 
     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


More information about the Python-checkins mailing list