code: def fromlist(cls, rnglist, autostep=None):
          
          inst = RangeSet(autostep=autostep)
          inst.updaten(rnglist)
          return inst
docs: Class method that returns a new RangeSet with ranges from provided
          list.