WeakMethod: implementation of weakref for function and bounded method.ΒΆ

WeakMethod: implementation of weakref for function and bounded method.

This class is used in Clock class, to prevent the clock of taking memory if the object is deleted. Check examples/core/clock_method.py for more informations.

This WeakMethod class is taken from the recipe http://code.activestate.com/recipes/81253/, based on the nicodemus version. (thanks to him !)

Previous topic

Vector: class to handle Vector operation.

Next topic

C Extensions: All Cython module.

This Page