Searched refs:im_class (Results 1 - 12 of 12) sorted by relevance

/external/python/cpython2/Include/
H A Dclassobject.h35 PyObject *im_class; /* The class that asked for the method */ member in struct:__anon19224
74 (((PyMethodObject *)meth) -> im_class)
/external/tensorflow/tensorflow/python/util/
H A Ddecorator_utils.py30 if hasattr(function, 'im_class'):
31 return function.im_class.__name__ + '.' + function.__name__
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/
H A Dimage_test.py181 im_class = count % num_classes
183 classpaths = paths[im_class]
/external/python/cpython2/Lib/test/
H A Dtest_funcattrs.py169 self.assertEqual(self.f.a.im_class, self.f)
170 self.assertEqual(self.fi.a.im_class, self.f)
171 self.cannot_set_attr(self.f.a, "im_class", self.f, TypeError)
172 self.cannot_set_attr(self.fi.a, "im_class", self.f, TypeError)
H A Dtest_pyclbr.py87 objname = "_%s%s" % (obj.im_class.__name__, objname)
H A Dtest_descr.py4477 self.assertIs(l.__add__.im_class, list)
/external/tensorflow/tensorflow/contrib/py2tf/converters/
H A Dcall_trees.py146 if hasattr(m, 'im_class'): # Python 2
147 return m.im_class
/external/python/cpython2/Objects/
H A Dclassobject.c165 return ((PyMethodObject *)im)->im_class;
2273 im->im_class = klass;
2280 /* im_class, im_func and im_self are stored in the PyMethod object */
2285 {"im_class", T_OBJECT, OFF(im_class), READONLY|RESTRICTED,
2374 "unbound methods must have non-NULL im_class");
2389 Py_XDECREF(im->im_class);
2421 PyObject *klass = a->im_class;
2500 Py_VISIT(im->im_class);
/external/python/cpython2/Lib/
H A Dcopy.py264 return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)
H A Dpydoc.py911 imclass = object.im_class
1301 imclass = object.im_class
/external/python/cpython2/Lib/multiprocessing/
H A Dforking.py72 return getattr, (m.im_class, m.im_func.func_name)
/external/python/cpython3/Lib/test/
H A Dtest_descr.py4302 self.assertIs(l.__add__.im_class, list)

Completed in 461 milliseconds