docs: def _line_spacing_rule(line, lineRule):
          """
          Return the line spacing rule value calculated from the combination of
          *line* and *lineRule*. Returns special members of the
          :ref:`WdLineSpacing` enumeration when line spacing is single, double,
          or 1.5 lines.
          """
          if lineRule == WD_LINE_SPACING.MULTIPLE:
              if line == Twips(240):
                  return WD_LINE_SPACING.SINGLE
              if line == Twips(360):
                  return WD_LINE_SPACING.ONE_POINT_FIVE
              if line == Twips(480):
                  return WD_LINE_SPACING.DOUBLE
          return lineRule