1. Luke Plant
  2. sphinx

Commits

Georg Brandl  committed 0150848

#651: sort undocumented classes alphabetically.

  • Participants
  • Parent commits e718cc9
  • Branches default

Comments (0)

Files changed (1)

File sphinx/ext/coverage.py

View file
                         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: