#NEWLINE# def Unsubscribe( self , callback ) : #NEWLINE# #INDENT# 'Unsubscribe from notifications.\n\n    Args:\n      callback - The method previously subscribed.\n    ' #NEWLINE# if self . _callbacks : #NEWLINE# #INDENT# self . _callbacks . discard ( self ) #NEWLINE# #UNINDENT# if self . _one_shot_callbacks : #NEWLINE# #INDENT# self . _one_shot_callbacks . discard ( callback )