Searched defs:ismethod (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
H A Dtest_pyclbr.py69 def ismethod(oclass, obj, name): function in function:PyclbrTest.checkModule
118 if ismethod(py_item, getattr(py_item, m), m):
/external/python/cpython3/Lib/test/
H A Dtest_pyclbr.py64 def ismethod(oclass, obj, name): function in function:PyclbrTest.checkModule
107 if ismethod(py_item, getattr(py_item, m), m):
/external/tensorflow/tensorflow/python/util/
H A Dtf_inspect.py87 if ismethod(func) and this:
162 def ismethod(object): # pylint: disable=redefined-builtin function
163 """TFDecorator-aware replacement for inspect.ismethod."""
164 return _inspect.ismethod(tf_decorator.unwrap(object)[1])
/external/python/cpython2/Lib/
H A Dinspect.py10 ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
67 def ismethod(object): function
81 But not if ismethod() or isclass() or isfunction() are true.
91 im_func attribute (etc) when an object passes ismethod()."""
94 and not ismethod(object) # mutual exclusion
160 return bool((isfunction(object) or ismethod(object)) and
239 or ismethod(object)
319 if (ismethod(obj_via_getattr) or
408 if ismethod(object):
565 if ismethod(objec
[all...]
/external/python/cpython3/Lib/
H A Dinspect.py9 ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
80 def ismethod(object): function
93 But not if ismethod() or isclass() or isfunction() are true.
103 __func__ attribute (etc) when an object passes ismethod()."""
104 if isclass(object) or ismethod(object) or isfunction(object):
118 if isclass(object) or ismethod(object) or isfunction(object):
176 return bool((isfunction(object) or ismethod(object)) and
184 return bool((isfunction(object) or ismethod(object)) and
193 return bool((isfunction(object) or ismethod(object)) and
283 or ismethod(objec
[all...]
/external/syslinux/com32/lua/src/
H A Dlparser.c788 static void body (LexState *ls, expdesc *e, int ismethod, int line) { argument
796 if (ismethod) {
1456 int ismethod = 0; local
1461 ismethod = 1;
1464 return ismethod;
1470 int ismethod; local
1473 ismethod = funcname(ls, &v);
1474 body(ls, &b, ismethod, line);

Completed in 283 milliseconds