Home
last modified time | relevance | path

Searched refs:methname (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_shlex.py196 for methname in dir(ShlexTest):
197 if methname.startswith("test") and methname != "testCompat":
198 delattr(ShlexTest, methname)
Dtest_trace.py177 for methname in ['inst_method_linear',]:
180 method = getattr(traced_obj, methname)
Dtest_set.py1623 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))
Dtest_bytes.py1002 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/
Dtest_shlex.py313 for methname in dir(ShlexTest):
314 if methname.startswith("test") and methname != "testCompat":
315 delattr(ShlexTest, methname)
Dtest_trace.py180 for methname in ['inst_method_linear',]:
183 method = getattr(traced_obj, methname)
Dtest_set.py1725 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))
Dtest_bytes.py1687 for methname in ('zfill', 'rjust', 'ljust', 'center'):
1688 method = getattr(val, methname)
1692 methname+' returned self on a mutable object')
/external/python/cpython2/Parser/
Dasdl.py321 methname = "visit" + klass.__name__
323 meth = getattr(self, methname, None)
325 meth = getattr(self, methname)
/external/python/cpython3/Parser/
Dasdl.py124 methname = "visit" + klass.__name__
125 meth = getattr(self, methname, None)
/external/python/cpython2/Demo/rpc/
Drpc.py706 methname = 'handle_' + repr(proc)
708 meth = getattr(self, methname)
/external/python/cpython2/Modules/
Ddatetimemodule.c780 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/
Ddictobject.c1512 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/
Ddictobject.c2234 const char *methname) in dict_update_common() argument
2239 if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) { in dict_update_common()