{ } Raw JSON

bundles / astropy latest / astropy / io / fits / util / NotifierMixin / _add_listener

function

astropy.io.fits.util:NotifierMixin._add_listener

source: /astropy/io/fits/util.py:79

Signature

def _add_listener(self, listener)

Summary

Add an object to the list of listeners to notify of changes to this object. This adds a weakref to the list of listeners that is removed from the listeners list when the listener has no other references to it.

Aliases

  • astropy.io.fits.column.NotifierMixin._add_listener