code: def strip_extras(requirement):
      
      line = requirement.as_line()
      new = type(requirement).from_line(line)
      new.extras = None
      return new
docs: Returns a new requirement object with extras removed.