#NEWLINE# def disableNotifications( self , notification = None , observer = None ) : #NEWLINE# #INDENT# "\n        Disable this object's notifications until told to resume them.\n\n        * **notification** The specific notification to disable. This is optional.\n          If no *notification* is given, all notifications will be disabled.\n\n        This is a convenience method that does the same thing as::\n\n            dispatcher = anObject.dispatcher\n            dispatcher.disableNotifications(\n                observable=anObject, notification=notification, observer=observer)\n        " #NEWLINE# dispatcher = self . dispatcher #NEWLINE# if ( dispatcher is not None ) : #NEWLINE# #INDENT# dispatcher . disableNotifications ( observable = self , notification = notification , observer = observer )