summaryrefslogtreecommitdiff
path: root/sphinx/ext/coverage.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-04-29 14:01:26 +0200
committerGeorg Brandl <georg@python.org>2011-04-29 14:01:26 +0200
commitb57286ca6ceb1af3bec28140ae6a71f4ba67e5bf (patch)
tree138a6dd3a52498cd6c2909d19a5e84ad72063611 /sphinx/ext/coverage.py
parent0806a96a49a5121690e665f68a09759e19c547d7 (diff)
downloadsphinx-git-b57286ca6ceb1af3bec28140ae6a71f4ba67e5bf.tar.gz
#651: sort undocumented classes alphabetically.
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r--sphinx/ext/coverage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py
index 8d58b671c..cfd4265ec 100644
--- a/sphinx/ext/coverage.py
+++ b/sphinx/ext/coverage.py
@@ -213,7 +213,7 @@ class CoverageBuilder(Builder):
op.write('\n')
if undoc['classes']:
op.write('Classes:\n')
- for name, methods in undoc['classes'].iteritems():
+ for name, methods in sorted(undoc['classes'].iteritems()):
if not methods:
op.write(' * %s\n' % name)
else: