Exemplo n.º 1
0
Arquivo: stub.py Projeto: Avvir/pyne
 def __init__(self, *stubs):
     ExitStack.__init__(self)
     self.stubs = stubs
     for each_stub in stubs:
         self.enter_context(each_stub)
Exemplo n.º 2
0
Arquivo: stub.py Projeto: Avvir/pyne
 def __init__(self, *stubs):
     ExitStack.__init__(self)
     self.stubs = stubs