Searched refs:methname (Results 1 – 8 of 8) 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 | 979 for methname in ('zfill', 'rjust', 'ljust', 'center'): 980 method = getattr(val, methname) 984 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/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 | 1466 dict_update_common(PyObject *self, PyObject *args, PyObject *kwds, char *methname) in dict_update_common() argument 1471 if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) in dict_update_common()
|