def __init__(self, events=None): ''' Create a new instance of EventsManager @param events: a list of custom events to add to standard ones @type events: list of string ''' Observable.__init__(self, events=EventsManager.__EVENTS__ + (events if isinstance(events, list) else []))
def __init__(self, scope): ''' Create a new GlobalsManager for the scope @param scope: the scope owner of this manager @type scope: L{Scope} ''' Observable.__init__(self, [GlobalsManager.EVENT_NEW_DEFINITION]) RestrictedManager.__init__(self, scope)
def __init__(self, scope): ''' Create a new GlobalsManager for the scope @param scope: the scope owner of this manager @type scope: L{Scope} ''' Observable.__init__(self, [ GlobalsManager.EVENT_NEW_DEFINITION ]) RestrictedManager.__init__(self, scope)
def __init__(self, scope): ''' Create a new FunctionsManager for the scope @param scope: the scope owner of this manager @type scope: L{Scope} ''' Observable.__init__(self, [FunctionsManager.EVENT_NEW_DEFINITION]) RestrictedManager.__init__(self, scope) # need to import system function definitions # bypass registerSystemFunction to avoid debug logger self._systemsFunctions = Functions_ImportSystemDefinitions() '''definitions of system-functions'''
def __init__(self, scope): ''' Create a new FunctionsManager for the scope @param scope: the scope owner of this manager @type scope: L{Scope} ''' Observable.__init__(self, [ FunctionsManager.EVENT_NEW_DEFINITION ]) RestrictedManager.__init__(self, scope) # need to import system function definitions # bypass registerSystemFunction to avoid debug logger self._systemsFunctions = Functions_ImportSystemDefinitions() '''definitions of system-functions'''