Home
last modified time | relevance | path

Searched refs:im_func (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_helpabout.py14 idle_credits = About.ShowIDLECredits.im_func
15 idle_readme = About.ShowIDLEAbout.im_func
16 idle_news = About.ShowIDLENEWS.im_func
18 display_file_text = About.display_file_text.im_func
38 textview.view_text = cls.orig_view.im_func
Dtest_config_name.py10 name_ok = name_dialog.name_ok.im_func
11 Ok = name_dialog.Ok.im_func
12 Cancel = name_dialog.Cancel.im_func
Dtest_grep.py29 grep_it = GrepDialog.grep_it.im_func
30 findfiles = GrepDialog.findfiles.im_func
Dtest_hyperparser.py16 _build_char_in_string_func = EditorWindow._build_char_in_string_func.im_func
17 is_char_in_string = EditorWindow.is_char_in_string.im_func
Dtest_formatparagraph.py241 get_selection_indices = EditorWindow. get_selection_indices.im_func
/external/python/cpython2/Lib/test/
Dtest_funcattrs.py42 self.f.a.im_func.known_attr = 7
176 self.assertEqual(self.f.b.im_func, self.b)
177 self.assertEqual(self.fi.b.im_func, self.b)
205 self.f.a.im_func.known_attr = 7
239 self.f.a.im_func.klass = self.f
240 for method in [self.f.a, self.fi.a, self.fi.a.im_func]:
260 self.cannot_set_attr(self.f.a.im_func, '__dict__', d, TypeError)
261 self.cannot_set_attr(self.fi.a.im_func, '__dict__', d, TypeError)
267 self.f.a.im_func.__dict__ = d
272 self.assertIs(d, self.f.a.im_func.__dict__)
[all …]
Dinspect_fodder2.py99 method_in_dynamic_class = f().g.im_func
Dtest_sys_setprofile.py51 disallowed = [ident(self.add_event.im_func), ident(ident)]
/external/python/cpython3/Objects/
Dclassobject.c21 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
111 im->im_func = func; in PyMethod_New()
147 {"__func__", T_OBJECT, MO_OFF(im_func), READONLY,
168 return PyObject_GetAttr(im->im_func, docstr); in method_get_doc()
201 return PyObject_GetAttr(im->im_func, name); in method_getattro()
240 Py_DECREF(im->im_func); in method_dealloc()
260 eq = PyObject_RichCompareBool(a->im_func, b->im_func, Py_EQ); in method_richcompare()
278 PyObject *func = a->im_func; in method_repr()
307 y = PyObject_Hash(a->im_func); in method_hash()
319 Py_VISIT(im->im_func); in method_traverse()
/external/python/cpython3/Include/
Dclassobject.h14 PyObject *im_func; /* The callable object implementing the method */ member
32 (((PyMethodObject *)meth) -> im_func)
/external/python/cpython2/Lib/ctypes/test/
Dtest_callbacks.py19 PROTO = self.functype.im_func(typ, typ)
27 PROTO = self.functype.im_func(typ, c_byte, typ)
122 prototype = self.functype.im_func(POINTER(c_double))
127 prototype = self.functype.im_func(object)
131 proto = self.functype.im_func(None)
/external/python/cpython2/Include/
Dclassobject.h33 PyObject *im_func; /* The callable object implementing the method */ member
70 (((PyMethodObject *)meth) -> im_func)
/external/python/cpython2/Lib/idlelib/
DCallTips.py127 return class_ob.__init__.im_func
169 fob = ob.im_func
174 fob = ob_call.im_func
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py250 return m.im_func
321 candidate = candidate.im_func
323 m = m.im_func
/external/python/cpython2/Tools/bgen/bgen/
DbgenObjectDefinition.py239 assert self.outputGetattr.im_func == PEP252Mixin.outputGetattr.im_func
240 assert self.outputSetattr.im_func == PEP252Mixin.outputSetattr.im_func
/external/python/cpython2/Objects/
Dclassobject.c145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function()
2267 im->im_func = func; in PyMethod_New()
2285 {"im_func", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2287 {"__func__", T_OBJECT, OFF(im_func), READONLY|RESTRICTED,
2310 return PyObject_GetAttr(im->im_func, docstr); in instancemethod_get_doc()
2343 return PyObject_GetAttr(im->im_func, name); in instancemethod_getattro()
2385 Py_DECREF(im->im_func); in instancemethod_dealloc()
2402 cmp = PyObject_Compare(a->im_func, b->im_func); in instancemethod_compare()
2418 PyObject *func = a->im_func; in instancemethod_repr()
2484 y = PyObject_Hash(a->im_func); in instancemethod_hash()
[all …]
/external/python/cpython2/Lib/xml/dom/
Dminicompat.py103 get = getattr(klass, ("_get_" + name)).im_func
/external/python/cpython2/Lib/multiprocessing/dummy/
D__init__.py89 notify_all = threading._Condition.notify_all.im_func
/external/tensorflow/tensorflow/python/util/
Dtf_decorator.py188 innermost_decorator.im_func.__wrapped__ = new_target
/external/python/cpython2/Lib/multiprocessing/
Dforking.py72 return getattr, (m.im_class, m.im_func.func_name)
74 return getattr, (m.im_self, m.im_func.func_name)
/external/python/cpython2/Lib/
Dinspect.py409 object = object.im_func
566 object = object.im_func
823 func = func.im_func
Ddis.py28 x = x.im_func
DDocXMLRPCServer.py78 args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
Dcopy.py264 return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py157 func = method.im_func

123