Home
last modified time | relevance | path

Searched refs:Py_TPFLAGS_METHOD_DESCRIPTOR (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/test/
Dtest_call.py537 Py_TPFLAGS_METHOD_DESCRIPTOR = 1 << 17 variable
556 self.assertFalse(type(repr).__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
557 self.assertTrue(type(list.append).__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
558 self.assertTrue(type(list.__add__).__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
559 self.assertTrue(type(testfunction).__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
560 self.assertTrue(type(cached).__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
562 self.assertTrue(_testcapi.MethodDescriptorBase.__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
563 self.assertTrue(_testcapi.MethodDescriptorDerived.__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
564 self.assertFalse(_testcapi.MethodDescriptorNopGet.__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
569 self.assertFalse(MethodDescriptorHeap.__flags__ & Py_TPFLAGS_METHOD_DESCRIPTOR)
/third_party/python/Include/
Dobject.h369 #define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17) macro
/third_party/python/Objects/
Ddescrobject.c712 Py_TPFLAGS_METHOD_DESCRIPTOR, /* tp_flags */
862 Py_TPFLAGS_METHOD_DESCRIPTOR, /* tp_flags */
Dfuncobject.c707 Py_TPFLAGS_METHOD_DESCRIPTOR, /* tp_flags */
Dtypeobject.c1587 if (_PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) { in lookup_maybe_method()
5919 (base->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR)) in inherit_slots()
5921 type->tp_flags |= Py_TPFLAGS_METHOD_DESCRIPTOR; in inherit_slots()
5965 if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) { in type_ready_checks()
Dobject.c1148 if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) { in _PyObject_GetMethod()
/third_party/python/Doc/c-api/
Dcall.rst406 If the object has the :const:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature,
Dtypeobj.rst1119 .. data:: Py_TPFLAGS_METHOD_DESCRIPTOR
/third_party/python/Modules/
D_functoolsmodule.c1422 Py_TPFLAGS_METHOD_DESCRIPTOR | Py_TPFLAGS_IMMUTABLETYPE,
D_testcapimodule.c6521 Py_TPFLAGS_METHOD_DESCRIPTOR | Py_TPFLAGS_HAVE_VECTORCALL,
/third_party/python/Misc/
Dstable_abi.txt2046 const Py_TPFLAGS_METHOD_DESCRIPTOR
/third_party/python/Misc/NEWS.d/
D3.8.0b1.rst2039 Add new type flag ``Py_TPFLAGS_METHOD_DESCRIPTOR`` for objects behaving like
D3.9.0a1.rst964 Slot functions optimize any callable with ``Py_TPFLAGS_METHOD_DESCRIPTOR``