Searched refs:MyManager (Results 1 – 6 of 6) 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 | 2675 class MyManager(BaseManager): class 2678 MyManager.register('Foo', callable=FooBar) 2679 MyManager.register('Bar', callable=FooBar, exposed=('f', '_h')) 2680 MyManager.register('baz', callable=baz, proxytype=IteratorProxy) 2688 manager = MyManager() 2699 with MyManager() as manager: 2706 manager = MyManager()
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 1581 class MyManager(BaseManager): 1584 MyManager.register('Maths', MathsClass) 1587 manager = MyManager()
|
/external/python/cpython3/Doc/library/ |
D | multiprocessing.rst | 1831 class MyManager(BaseManager): 1834 MyManager.register('Maths', MathsClass) 1837 with MyManager() as manager:
|