Class pyglet.app.WeakSet

Set of objects, referenced weakly.

Adding an object to this set does not prevent it from being garbage collected. Upon being garbage collected, the object is automatically removed from the set.

Methods

  __init__(self)
  add(self, value)
  remove(self, value)
  __iter__(self)
  __contains__(self, other)
  __len__(self)