summaryrefslogtreecommitdiff
path: root/sphinx/ext/coverage.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-04-29 14:01:54 +0200
committerGeorg Brandl <georg@python.org>2011-04-29 14:01:54 +0200
commitd3479801bc59fb06e4cd696300022b4b39a2fdd5 (patch)
tree716dc50c0428f2c5f564d64792559b2ee28aa3ec /sphinx/ext/coverage.py
parent54290ed0e668e56c6b104a8a5f98224e33a59b2c (diff)
parentb57286ca6ceb1af3bec28140ae6a71f4ba67e5bf (diff)
downloadsphinx-git-d3479801bc59fb06e4cd696300022b4b39a2fdd5.tar.gz
merge with 1.0
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: