code: def linem(self, lines):
          
          shapeType = POLYLINEM
          self._shapeparts(parts=lines, shapeType=shapeType)
docs: Creates a POLYLINEM shape.
          Lines is a collection of lines, each made up of a list of xym values.
          If the m (measure) value is not included, it defaults to None (NoData).