コード例 #1
0
ファイル: __init__.py プロジェクト: nipengadmaster/pypy
 def init(self, space):
     MixedModule.init(self, space)
     w_UnsupportedOperation = space.call_function(
         space.w_type,
         space.wrap('UnsupportedOperation'),
         space.newtuple([space.w_ValueError, space.w_IOError]),
         space.newdict())
     space.setattr(self, space.wrap('UnsupportedOperation'),
                   w_UnsupportedOperation)
コード例 #2
0
 def init(self, space):
     MixedModule.init(self, space)
     from pypy.module._multiprocessing.interp_connection import State
     space.fromcache(State).init(space)
コード例 #3
0
ファイル: __init__.py プロジェクト: abhinavthomas/pypy
 def init(self, space):
     MixedModule.init(self, space)
     from pypy.module._multiprocessing.interp_connection import State
     space.fromcache(State).init(space)