Searched refs:im_func (Results 1 – 25 of 39) sorted by relevance
12
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_helpabout.py | 14 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
|
D | test_config_name.py | 10 name_ok = name_dialog.name_ok.im_func 11 Ok = name_dialog.Ok.im_func 12 Cancel = name_dialog.Cancel.im_func
|
D | test_grep.py | 29 grep_it = GrepDialog.grep_it.im_func 30 findfiles = GrepDialog.findfiles.im_func
|
D | test_hyperparser.py | 16 _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
|
D | test_formatparagraph.py | 241 get_selection_indices = EditorWindow. get_selection_indices.im_func
|
/external/python/cpython2/Lib/test/ |
D | test_funcattrs.py | 42 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 …]
|
D | inspect_fodder2.py | 99 method_in_dynamic_class = f().g.im_func
|
D | test_sys_setprofile.py | 51 disallowed = [ident(self.add_event.im_func), ident(ident)]
|
D | test_class.py | 628 a = A(hash(A.f.im_func)^(-1))
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_callbacks.py | 19 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/ |
D | classobject.h | 33 PyObject *im_func; /* The callable object implementing the method */ member 70 (((PyMethodObject *)meth) -> im_func)
|
/external/python/cpython2/Lib/idlelib/ |
D | CallTips.py | 127 return class_ob.__init__.im_func 169 fob = ob.im_func 174 fob = ob_call.im_func
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | bgenObjectDefinition.py | 239 assert self.outputGetattr.im_func == PEP252Mixin.outputGetattr.im_func 240 assert self.outputSetattr.im_func == PEP252Mixin.outputSetattr.im_func
|
/external/python/cpython2/Objects/ |
D | classobject.c | 145 return ((PyMethodObject *)im)->im_func; in PyMethod_Function() 2269 im->im_func = func; in PyMethod_New() 2287 {"im_func", T_OBJECT, OFF(im_func), READONLY|RESTRICTED, 2289 {"__func__", T_OBJECT, OFF(im_func), READONLY|RESTRICTED, 2312 return PyObject_GetAttr(im->im_func, docstr); in instancemethod_get_doc() 2345 return PyObject_GetAttr(im->im_func, name); in instancemethod_getattro() 2387 Py_DECREF(im->im_func); in instancemethod_dealloc() 2404 cmp = PyObject_Compare(a->im_func, b->im_func); in instancemethod_compare() 2420 PyObject *func = a->im_func; in instancemethod_repr() 2486 y = PyObject_Hash(a->im_func); in instancemethod_hash() [all …]
|
/external/python/cpython2/Lib/xml/dom/ |
D | minicompat.py | 103 get = getattr(klass, ("_get_" + name)).im_func
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
D | __init__.py | 89 notify_all = threading._Condition.notify_all.im_func
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 72 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/ |
D | inspect.py | 409 object = object.im_func 566 object = object.im_func 813 func = func.im_func
|
D | dis.py | 28 x = x.im_func
|
D | DocXMLRPCServer.py | 78 args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
|
D | copy.py | 264 return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)
|
D | pdb.py | 394 func = func.im_func 847 try: code = value.im_func.func_code
|
/external/python/cpython2/Doc/reference/ |
D | datamodel.rst | 572 :attr:`im_func` is the function object; :attr:`im_class` is the class of 575 ``im_func.__doc__``); :attr:`~definition.__name__` is the method name (same as 576 ``im_func.__name__``); :attr:`__module__` is the name of the module the method 583 For Python 3 forward-compatibility, :attr:`im_func` is also available as 590 single: im_func (method attribute) 606 single: im_func (method attribute) 616 place, and its :attr:`im_func` attribute is the original function object. 618 .. index:: single: im_func (method attribute) 622 except that the :attr:`im_func` attribute of the new instance is not the 623 original method object but its :attr:`im_func` attribute. [all …]
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 60 | | im_func or | function object | | 348 :attr:`im_func` attribute (etc) when an object passes :func:`ismethod`.
|
/external/python/cpython2/Lib/lib-tk/test/ |
D | widget_tests.py | 550 getattr(source_class, methodname).im_func)
|
12