summaryrefslogtreecommitdiff
path: root/sphinx/ext/coverage.py
diff options
context:
space:
mode:
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 e3e3a65eb..5ff81d704 100644
--- a/sphinx/ext/coverage.py
+++ b/sphinx/ext/coverage.py
@@ -228,7 +228,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: