Searched refs:_callmethod (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/multiprocessing/ |
D | managers.py | 796 def _callmethod(self, methodname, args=(), kwds={}): member in BaseProxy 830 return self._callmethod('#GETVALUE') 910 return self._callmethod('__repr__') 1026 return self._callmethod('__next__', args) 1028 return self._callmethod('send', args) 1030 return self._callmethod('throw', args) 1032 return self._callmethod('close', args) 1039 return self._callmethod('acquire', args) 1041 return self._callmethod('release') 1043 return self._callmethod('acquire') [all …]
|
/external/python/cpython2/Lib/multiprocessing/ |
D | managers.py | 746 def _callmethod(self, methodname, args=(), kwds={}): member in BaseProxy 780 return self._callmethod('#GETVALUE') 856 return self._callmethod('__repr__') 973 return self._callmethod('__next__', args) 975 return self._callmethod('next', args) 977 return self._callmethod('send', args) 979 return self._callmethod('throw', args) 981 return self._callmethod('close', args) 987 return self._callmethod('acquire', (blocking,)) 989 return self._callmethod('release') [all …]
|
/external/python/cpython2/Doc/includes/ |
D | mp_newtype.py | 34 return self._callmethod('next') 36 return self._callmethod('__next__')
|
/external/python/cpython3/Doc/includes/ |
D | mp_newtype.py | 26 return self._callmethod('__next__')
|
/external/python/cpython2/Doc/tools/ |
D | susp-ignored.csv | 81 library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`" 82 library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
|
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 1450 return self._callmethod('next') 1452 return self._callmethod('__next__') 1482 self.assertEqual(foo._callmethod('f'), 'f()') 1483 self.assertRaises(RemoteError, foo._callmethod, '_h') 1487 self.assertEqual(bar._callmethod('f'), 'f()') 1488 self.assertEqual(bar._callmethod('_h'), '_h()')
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 1435 :meth:`BaseProxy._callmethod`. (If *exposed* is ``None`` then 1717 .. method:: _callmethod(methodname[, args[, kwds]]) 1723 proxy._callmethod(methodname, args, kwds) 1736 :meth:`_callmethod`. If some other exception is raised in the manager's 1738 raised by :meth:`_callmethod`. 1743 An example of the usage of :meth:`_callmethod`: 1748 >>> l._callmethod('__len__') 1750 >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]` 1752 >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`
|
/external/python/cpython3/Doc/library/ |
D | multiprocessing.rst | 1717 :meth:`BaseProxy._callmethod`. (If *exposed* is ``None`` then 2042 .. method:: _callmethod(methodname[, args[, kwds]]) 2048 proxy._callmethod(methodname, args, kwds) 2061 :meth:`_callmethod`. If some other exception is raised in the manager's 2063 raised by :meth:`_callmethod`. 2068 An example of the usage of :meth:`_callmethod`: 2073 >>> l._callmethod('__len__') 2075 >>> l._callmethod('__getitem__', (slice(2, 7),)) # equivalent to l[2:7] 2077 >>> l._callmethod('__getitem__', (20,)) # equivalent to l[20]
|
/external/python/cpython3/Lib/test/ |
D | _test_multiprocessing.py | 2826 return self._callmethod('__next__') 2879 self.assertEqual(foo._callmethod('f'), 'f()') 2880 self.assertRaises(RemoteError, foo._callmethod, '_h') 2884 self.assertEqual(bar._callmethod('f'), 'f()') 2885 self.assertEqual(bar._callmethod('_h'), '_h()')
|