Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__( self, scope, qname, local=False, tag=0 ):
Scope.__init__( self, scope, qname, local, tag )
self.__enumerated_types = []
self.__interfaces = []
self.__modules = []
self.__types = []
def __init__( self, scope, qname, local=False, tag=0, parent_interface_names=None ):
assert parent_interface_names is None or isinstance( parent_interface_names, list )
Scope.__init__( self, scope, qname, local, tag )
self.__parent_interface_names = parent_interface_names is not None and parent_interface_names or []
self.__exception_types = []
self.__operations = []