Searched refs:methname (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_shlex.py | 196 for methname in dir(ShlexTest): 197 if methname.startswith("test") and methname != "testCompat": 198 delattr(ShlexTest, methname)
|
D | test_trace.py | 177 for methname in ['inst_method_linear',]: 180 method = getattr(traced_obj, methname)
|
D | test_set.py | 1623 for methname in ('update', 'intersection_update', 1628 getattr(s, methname)(list(g(data))) 1629 getattr(t, methname)(g(data)) 1632 self.assertRaises(TypeError, getattr(set('january'), methname), X(data)) 1633 self.assertRaises(TypeError, getattr(set('january'), methname), N(data)) 1634 self.assertRaises(ZeroDivisionError, getattr(set('january'), methname), E(data))
|
D | test_bytes.py | 1002 for methname in ('zfill', 'rjust', 'ljust', 'center'): 1003 method = getattr(val, methname) 1007 methname+' returned self on a mutable object')
|
/external/python/cpython3/Lib/test/ |
D | test_shlex.py | 313 for methname in dir(ShlexTest): 314 if methname.startswith("test") and methname != "testCompat": 315 delattr(ShlexTest, methname)
|
D | test_trace.py | 180 for methname in ['inst_method_linear',]: 183 method = getattr(traced_obj, methname)
|
D | test_set.py | 1725 for methname in ('update', 'intersection_update', 1730 getattr(s, methname)(list(g(data))) 1731 getattr(t, methname)(g(data)) 1734 self.assertRaises(TypeError, getattr(set('january'), methname), X(data)) 1735 self.assertRaises(TypeError, getattr(set('january'), methname), N(data)) 1736 self.assertRaises(ZeroDivisionError, getattr(set('january'), methname), E(data))
|
D | test_bytes.py | 1687 for methname in ('zfill', 'rjust', 'ljust', 'center'): 1688 method = getattr(val, methname) 1692 methname+' returned self on a mutable object')
|
/external/python/cpython2/Parser/ |
D | asdl.py | 321 methname = "visit" + klass.__name__ 323 meth = getattr(self, methname, None) 325 meth = getattr(self, methname)
|
/external/python/cpython3/Parser/ |
D | asdl.py | 124 methname = "visit" + klass.__name__ 125 meth = getattr(self, methname, None)
|
/external/python/cpython2/Demo/rpc/ |
D | rpc.py | 706 methname = 'handle_' + repr(proc) 708 meth = getattr(self, methname)
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 780 call_tzinfo_method(PyObject *tzinfo, char *methname, PyObject *tzinfoarg) in call_tzinfo_method() argument 784 assert(tzinfo && methname && tzinfoarg); in call_tzinfo_method() 791 result = PyObject_CallMethod(tzinfo, methname, "O", tzinfoarg); in call_tzinfo_method()
|
/external/python/cpython2/Objects/ |
D | dictobject.c | 1512 dict_update_common(PyObject *self, PyObject *args, PyObject *kwds, char *methname) in dict_update_common() argument 1517 if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) in dict_update_common()
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 2234 const char *methname) in dict_update_common() argument 2239 if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) { in dict_update_common()
|