Commits

Luke Plant  committed 29d10f3

Corrected comment.

('Monotonically' - I don't think that word means what you think it means...)

  • Participants
  • Parent commits 877fd44

Comments (0)

Files changed (1)

File semanticeditor/common.py

                                                     "heading, which was H%d." %
                                                     first_heading_level)
 
-                    # Headings should decrease or monotonically increase
+                    # Heading level should decrease or increase by no more than one.
                     if headings_used and level > last_heading_num + 1:
                         raise IncorrectHeadings('Heading "%(name)s" is level H%(foundnum)d, '
                                                 'but it should be level H%(rightnum)d or less' %