class_docstr: An OrderedSet is a custom MutableSet that remembers its order, so that
  every entry has an index that can be looked up.
  
  Example:
      >>> OrderedSet([1, 1, 2, 3, 2])
      OrderedSet([1, 2, 3])
class_docstr_tok: ["An","OrderedSet","is","a","custom","MutableSet","that","remembers","its","order",",","so","that","every","entry","has","an","index","that","can","be","looked","up",".","Example",":",">",">",">","OrderedSet","(","[","1",",","1",",","2",",","3",",","2","]",")","OrderedSet","(","[","1",",","2",",","3","]",")"]
docstr: Update this OrderedSet to remove items from one or more other sets.
  
  Example:
      >>> this = OrderedSet([1, 2, 3])
      >>> this.difference_update(OrderedSet([2, 4]))
      >>> print(this)
      OrderedSet([1, 3])
  
      >>> this = OrderedSet([1, 2, 3, 4, 5])
      >>> this.difference_update(OrderedSet([2, 4]), OrderedSet([1, 4, 6]))
      >>> print(this)
      OrderedSet([3, 5])
docstr_tok: ["Update","this","OrderedSet","to","remove","items","from","one","or","more","other","sets",".","Example",":",">",">",">","this","=","OrderedSet","(","[","1",",","2",",","3","]",")",">",">",">","this.difference_update","(","OrderedSet","(","[","2",",","4","]",")",")",">",">",">","print","(","this",")","OrderedSet","(","[","1",",","3","]",")",">",">",">","this","=","OrderedSet","(","[","1",",","2",",","3",",","4",",","5","]",")",">",">",">","this.difference_update","(","OrderedSet","(","[","2",",","4","]",")",",","OrderedSet","(","[","1",",","4",",","6","]",")",")",">",">",">","print","(","this",")","OrderedSet","(","[","3",",","5","]",")"]
code: def difference_update(self, *sets):
      """
      Update this OrderedSet to remove items from one or more other sets.
  
      Example:
          >>> this = OrderedSet([1, 2, 3])
          >>> this.difference_update(OrderedSet([2, 4]))
          >>> print(this)
          OrderedSet([1, 3])
  
          >>> this = OrderedSet([1, 2, 3, 4, 5])
          >>> this.difference_update(OrderedSet([2, 4]), OrderedSet([1, 4, 6]))
          >>> print(this)
          OrderedSet([3, 5])
      """
      items_to_remove = set()
      for other in sets:
          items_to_remove |= set(other)
      self._update_items(
          [item for item in self.items if item not in items_to_remove]
      )
  
imports: import itertools
  from collections import deque
label_desc: Use image node_id 26 for calling the OrderedSet obj's underlying member method code with example usage: obj.difference_update() without return types