code: def discard(self, element):
          
          try:
              i = int(element)
              set.discard(self, i)
          except ValueError:
              pass
docs: Remove element from the RangeSet if it is a member.
  
          If the element is not a member, do nothing.