code: def _get_em(length):
          '''
          ::param: length \
              the length specified in the CSS.
  
          ::return:
              the length in em's.
          '''
          m = CssParse.RE_UNIT.search(length)
          value = float(m.group(1))
          unit = m.group(2)
  
          if unit not in ('em', 'qem', 'rem'):
              return int(round(value/8))
          else:
              return int(round(value)f _get_em(length):
          '''
          ::param: length \
              the length specified in the CSS.
  
          ::return:
              the length in em's.
          '''
          m = CssParse.RE_UNIT.search(length)
          value = float(m.group(1))
          unit = m.group(2)
  
          if unit not in ('em', 'qem', 'rem'):
              return int(round(value/8))
          else:
              return int(round(value))
docs: ::param: length \
              the length specified in the CSS.
  
          ::return:
              the length in em's.