<s> """<STR_LIT>""" <EOL> import sys <EOL> import os <EOL> import unittest <EOL> import logging <EOL> from Cocoa import NSObject <EOL> from . . import not_implemented <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> class BaseHandler ( object ) : <EOL> pass <EOL> class NSNotificationHandler ( NSObject ) : <EOL> """<STR_LIT>""" <EOL> def init ( self ) : <EOL> """<STR_LIT>""" <EOL> self = super ( NSNotificationHandler , self ) . init ( ) <EOL> if self is None : return None <EOL> self . callable = not_implemented <EOL> return self <EOL> def onNotification_ ( self , the_notification ) : <EOL> """<STR_LIT>""" <EOL> if the_notification . userInfo : <EOL> user_info = the_notification . userInfo ( ) <EOL> else : <EOL> user_info = None <EOL> self . callable ( user_info = user_info ) </s>
