Home
last modified time | relevance | path

Searched refs:methname (Results 1 – 8 of 8) 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.py979 for methname in ('zfill', 'rjust', 'ljust', 'center'):
980 method = getattr(val, methname)
984 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/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.c1466 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()