WeakSet Class

Inheritance diagram of WeakSet

class 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.

Constructor:

__init__()

Methods:

add(value)
remove(value)

Methods

WeakSet.add(value)
WeakSet.remove(value)

Table Of Contents

Previous topic

PlatformEventLoop Class

Next topic

AppException