Home
last modified time | relevance | path

Searched refs:MyManager (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Doc/includes/
Dmp_newtype.py34 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/
Dmp_newtype.py44 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/
Dtest_multiprocessing.py1454 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.py2675 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/
Dmultiprocessing.rst1581 class MyManager(BaseManager):
1584 MyManager.register('Maths', MathsClass)
1587 manager = MyManager()
/external/python/cpython3/Doc/library/
Dmultiprocessing.rst1831 class MyManager(BaseManager):
1834 MyManager.register('Maths', MathsClass)
1837 with MyManager() as manager: