/third_party/python/Include/ |
D | genobject.h | 42 PyObject *name, PyObject *qualname); 60 PyObject *name, PyObject *qualname); 86 PyObject *name, PyObject *qualname);
|
D | funcobject.h | 15 PyObject *PREFIX ## qualname; \
|
/third_party/python/Objects/ |
D | unionobject.c | 262 PyObject *qualname = NULL; in union_repr_item() local 288 if (_PyObject_LookupAttrId(p, &PyId___qualname__, &qualname) < 0) { in union_repr_item() 291 if (qualname == NULL) { in union_repr_item() 306 r = PyObject_Str(qualname); in union_repr_item() 310 r = PyUnicode_FromFormat("%S.%S", module, qualname); in union_repr_item() 317 Py_XDECREF(qualname); in union_repr_item()
|
D | genericaliasobject.c | 48 PyObject *qualname = NULL; in ga_repr_item() local 75 if (_PyObject_LookupAttrId(p, &PyId___qualname__, &qualname) < 0) { in ga_repr_item() 78 if (qualname == NULL) { in ga_repr_item() 93 r = PyObject_Str(qualname); in ga_repr_item() 97 r = PyUnicode_FromFormat("%S.%S", module, qualname); in ga_repr_item() 105 Py_XDECREF(qualname); in ga_repr_item()
|
D | funcobject.c | 11 PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname) in PyFunction_NewWithQualName() argument 25 if (!qualname) { in PyFunction_NewWithQualName() 26 qualname = name; in PyFunction_NewWithQualName() 28 Py_INCREF(qualname); in PyFunction_NewWithQualName() 69 op->func_qualname = qualname; in PyFunction_NewWithQualName() 88 Py_DECREF(qualname); in PyFunction_NewWithQualName()
|
D | genobject.c | 832 PyObject *name, PyObject *qualname) in gen_new_with_qualname() argument 853 if (qualname != NULL) in gen_new_with_qualname() 854 gen->gi_qualname = qualname; in gen_new_with_qualname() 863 PyGen_NewWithQualName(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyGen_NewWithQualName() argument 865 return gen_new_with_qualname(&PyGen_Type, f, name, qualname); in PyGen_NewWithQualName() 1198 PyCoro_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyCoro_New() argument 1200 PyObject *coro = gen_new_with_qualname(&PyCoro_Type, f, name, qualname); in PyCoro_New() 1470 PyAsyncGen_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyAsyncGen_New() argument 1474 &PyAsyncGen_Type, f, name, qualname); in PyAsyncGen_New()
|
D | object.c | 603 PyObject *qualname; in _PyObject_FunctionStr() local 604 int ret = _PyObject_LookupAttrId(x, &PyId___qualname__, &qualname); in _PyObject_FunctionStr() 605 if (qualname == NULL) { in _PyObject_FunctionStr() 625 result = PyUnicode_FromFormat("%S.%S()", module, qualname); in _PyObject_FunctionStr() 632 result = PyUnicode_FromFormat("%S()", qualname); in _PyObject_FunctionStr() 634 Py_DECREF(qualname); in _PyObject_FunctionStr()
|
D | typeobject.c | 2833 PyObject *qualname = _PyDict_GetItemIdWithError(type->tp_dict, in type_new_set_ht_name() local 2835 if (qualname != NULL) { in type_new_set_ht_name() 2836 if (!PyUnicode_Check(qualname)) { in type_new_set_ht_name() 2839 Py_TYPE(qualname)->tp_name); in type_new_set_ht_name() 2842 et->ht_qualname = Py_NewRef(qualname); in type_new_set_ht_name()
|
/third_party/python/Doc/c-api/ |
D | coro.rst | 30 .. c:function:: PyObject* PyCoro_New(PyFrameObject *frame, PyObject *name, PyObject *qualname) 33 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
|
D | gen.rst | 41 …unction:: PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qualname) 44 with ``__name__`` and ``__qualname__`` set to *name* and *qualname*.
|
D | function.rst | 42 …ction:: PyObject* PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname) 45 ``__qualname__`` attribute. *qualname* should be a unicode object or ``NULL``;
|
/third_party/python/Lib/ |
D | enum.py | 359 def __call__(cls, value, names=None, *, module=None, qualname=None, type=None, start=1): argument 391 qualname=qualname, 483 def _create_(cls, class_name, names, *, module=None, qualname=None, type=None, start=1): argument 531 if qualname is not None: 532 enum_class.__qualname__ = qualname
|
D | dataclasses.py | 1144 qualname = getattr(cls, '__qualname__', None) 1146 if qualname is not None: 1147 cls.__qualname__ = qualname
|
D | inspect.py | 903 def __init__(self, qualname): argument 905 self.qualname = qualname 918 if self.qualname == '.'.join(self.stack): 964 qualname = object.__qualname__ 967 class_finder = _ClassFinder(qualname)
|
D | functools.py | 305 qualname = type(self).__qualname__
|
/third_party/python/Python/ |
D | errors.c | 1352 PyObject *qualname = _PyType_GetQualName((PyTypeObject *)exc_type); in write_unraisable_exc_file() local 1353 if (qualname == NULL || !PyUnicode_Check(qualname)) { in write_unraisable_exc_file() 1354 Py_XDECREF(qualname); in write_unraisable_exc_file() 1361 if (PyFile_WriteObject(qualname, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file() 1362 Py_DECREF(qualname); in write_unraisable_exc_file() 1365 Py_DECREF(qualname); in write_unraisable_exc_file()
|
D | pythonrun.c | 986 PyObject* qualname = _PyType_GetQualName((PyTypeObject *)type); in print_exception() local 987 if (qualname == NULL || !PyUnicode_Check(qualname)) { in print_exception() 988 Py_XDECREF(qualname); in print_exception() 993 err = PyFile_WriteObject(qualname, f, Py_PRINT_RAW); in print_exception() 994 Py_DECREF(qualname); in print_exception()
|
D | compile.c | 2017 PyObject *qualname) in compiler_make_closure() argument 2020 if (qualname == NULL) in compiler_make_closure() 2021 qualname = co->co_name; in compiler_make_closure() 2064 ADDOP_LOAD_CONST(c, qualname); in compiler_make_closure() 2320 PyObject *qualname, *docstring = NULL; in compiler_function() local 2397 qualname = c->u->u_qualname; in compiler_function() 2398 Py_INCREF(qualname); in compiler_function() 2401 Py_XDECREF(qualname); in compiler_function() 2406 if (!compiler_make_closure(c, co, funcflags, qualname)) { in compiler_function() 2407 Py_DECREF(qualname); in compiler_function() [all …]
|
D | ceval.c | 4291 PyObject *qualname = POP(); in _PyEval_EvalFrameDefault() local 4294 PyFunction_NewWithQualName(codeobj, f->f_globals, qualname); in _PyEval_EvalFrameDefault() 4297 Py_DECREF(qualname); in _PyEval_EvalFrameDefault() 4556 PyCodeObject *co, PyObject *names, PyObject *qualname) in format_missing() argument 4609 qualname, in format_missing() 4620 PyObject **fastlocals, PyObject *qualname) in missing_arguments() argument 4652 format_missing(tstate, kind, co, missing_names, qualname); in missing_arguments() 4659 PyObject **fastlocals, PyObject *qualname) in too_many_positional() argument 4704 qualname, in too_many_positional() 4717 PyObject *qualname) in positional_only_passed_as_keyword() argument [all …]
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 2033 qualname = f"{mod}.{name}" 2035 qualname = f"{name}"
|
/third_party/python/Doc/library/ |
D | email.contentmanager.rst | 61 * the type's qualname (``typ.__qualname__``)
|
D | enum.rst | 518 >>> Animal = Enum('Animal', 'ANT BEE CAT DOG', qualname='SomeData.Animal') 522 …Enum(value='NewEnumName', names=<...>, *, module='...', qualname='...', type=<mixed-in class>, sta… 545 :qualname: where in module new Enum class can be found.
|
D | logging.config.rst | 726 qualname=compiler.parser 734 ``qualname`` entry is the hierarchical channel name of the logger, that is to
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.1.rst | 229 qualname. Previously only the class name was concatenated to the module 233 :mod:`traceback` module was using qualname already).
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 934 PyFunction_NewWithQualName:PyObject*:qualname:+1: 960 PyGen_NewWithQualName:PyObject*:qualname:0: 968 PyCoro_New:PyObject*:qualname:0:
|