Skip to content

Commit

Permalink
Change remaining iteritems to items
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Apr 20, 2014
1 parent 37ef664 commit 9840482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/ext/docscrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def _str_index(self):
idx = self['index']
out = []
out += ['.. index:: %s' % idx.get('default', '')]
for section, references in idx.iteritems():
for section, references in idx.items():
if section == 'default':
continue
out += [' :%s: %s' % (section, ', '.join(references))]
Expand Down
2 changes: 1 addition & 1 deletion doc/ext/docscrape_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _str_index(self):
return out

out += ['.. index:: %s' % idx.get('default', '')]
for section, references in idx.iteritems():
for section, references in idx.items():
if section == 'default':
continue
elif section == 'refguide':
Expand Down

0 comments on commit 9840482

Please sign in to comment.