Searched refs:MyManager (Results 1 - 2 of 2) sorted by relevance
/external/python/cpython2/Doc/includes/ |
H A D | mp_newtype.py | 44 class MyManager(BaseManager): class in inherits:BaseManager 48 MyManager.register('Foo1', Foo) 51 MyManager.register('Foo2', Foo, exposed=('g', '_h')) 54 MyManager.register('baz', baz, proxytype=GeneratorProxy) 57 MyManager.register('operator', get_operator_module) 62 manager = MyManager()
|
/external/python/cpython2/Lib/test/ |
H A D | test_multiprocessing.py | 1385 class MyManager(BaseManager): class in inherits:BaseManager 1388 MyManager.register('Foo', callable=FooBar) 1389 MyManager.register('Bar', callable=FooBar, exposed=('f', '_h')) 1390 MyManager.register('baz', callable=baz, proxytype=IteratorProxy) 1398 manager = MyManager()
|
Completed in 157 milliseconds