Beispiel #1
0
    def __init__(self, interface, **kwargs):
        ProxyKernelInterface.__init__(self, interface)

        invalid_keywords = set(kwargs.keys()) - set(self.keywords)
        if invalid_keywords:
            raise ValueError("unexpected keyword argument '{0}'".format(invalid_keywords.pop()))
        self.__dict__.update(kwargs)
Beispiel #2
0
    def __init__(self, interface, **kwargs):
        ProxyKernelInterface.__init__(self, interface)

        invalid_keywords = set(kwargs.keys()) - set(self.keywords)
        if invalid_keywords:
            raise ValueError("unexpected keyword argument '{0}'".format(invalid_keywords.pop()))
        self.__dict__.update(kwargs)
Beispiel #3
0
 def __init__(self, wrapee, restriction):
     ProxyKernelInterface.__init__(self, wrapee)
     self.restriction = restriction
Beispiel #4
0
 def __init__(self, wrapee, restriction):
     ProxyKernelInterface.__init__(self, wrapee)
     self.restriction = restriction