Searched refs:MyManager (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Doc/includes/ |
D | mp_newtype.py | 34 class MyManager(BaseManager): class 38 MyManager.register('Foo1', Foo) 41 MyManager.register('Foo2', Foo, exposed=('g', '_h')) 44 MyManager.register('baz', baz, proxytype=GeneratorProxy) 47 MyManager.register('operator', get_operator_module) 52 manager = MyManager()
|
/external/python/cpython2/Doc/includes/ |
D | mp_newtype.py | 44 class MyManager(BaseManager): class 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/ |
D | test_multiprocessing.py | 1454 class MyManager(BaseManager): class 1457 MyManager.register('Foo', callable=FooBar) 1458 MyManager.register('Bar', callable=FooBar, exposed=('f', '_h')) 1459 MyManager.register('baz', callable=baz, proxytype=IteratorProxy) 1467 manager = MyManager()
|
/external/python/cpython3/Lib/test/ |
D | _test_multiprocessing.py | 2828 class MyManager(BaseManager): class 2831 MyManager.register('Foo', callable=FooBar) 2832 MyManager.register('Bar', callable=FooBar, exposed=('f', '_h')) 2833 MyManager.register('baz', callable=baz, proxytype=IteratorProxy) 2841 manager = MyManager() 2852 with MyManager() as manager: 2860 manager = MyManager()
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 1581 class MyManager(BaseManager): 1584 MyManager.register('Maths', MathsClass) 1587 manager = MyManager()
|