mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
use the awesome new status iterator
This commit is contained in:
parent
83db7652ca
commit
c5206b3893
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue