Документация Python неофициальный перевод

objimpl.md

45 строк · 4.0 КБ · обычная страница · сырой текст · скачать

1> **Источник:** https://python-all.ru/3.12/c-api/objimpl.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Поддержка реализации объектов89В этой главе описываются функции, типы и макросы, используемые при определении новых типов объектов.1011- [Выделение объектов в куче](https://python-all.ru/3.12/c-api/allocation.html)12- [Общие структуры объектов](https://python-all.ru/3.12/c-api/structures.html)1314  - [Базовые типы объектов и макросы](https://python-all.ru/3.12/c-api/structures.html#base-object-types-and-macros)15  - [Реализация функций и методов](https://python-all.ru/3.12/c-api/structures.html#implementing-functions-and-methods)16  - [Доступ к атрибутам типов-расширений](https://python-all.ru/3.12/c-api/structures.html#accessing-attributes-of-extension-types)1718    - [Флаги членов](https://python-all.ru/3.12/c-api/structures.html#member-flags)19    - [Типы членов](https://python-all.ru/3.12/c-api/structures.html#member-types)20    - [Определение геттеров и сеттеров](https://python-all.ru/3.12/c-api/structures.html#defining-getters-and-setters)21- [Структуры объектов типов](https://python-all.ru/3.12/c-api/typeobj.html)2223  - [Краткий справочник](https://python-all.ru/3.12/c-api/typeobj.html#quick-reference)2425    - [“tp slots”](https://python-all.ru/3.12/c-api/typeobj.html#tp-slots)26    - [под-слоты](https://python-all.ru/3.12/c-api/typeobj.html#sub-slots)27    - [typedefs слотов](https://python-all.ru/3.12/c-api/typeobj.html#slot-typedefs)28  - [Определение PyTypeObject](https://python-all.ru/3.12/c-api/typeobj.html#pytypeobject-definition)29  - [Слоты PyObject](https://python-all.ru/3.12/c-api/typeobj.html#pyobject-slots)30  - [Слоты PyVarObject](https://python-all.ru/3.12/c-api/typeobj.html#pyvarobject-slots)31  - [Слоты PyTypeObject](https://python-all.ru/3.12/c-api/typeobj.html#pytypeobject-slots)32  - [Статические типы](https://python-all.ru/3.12/c-api/typeobj.html#static-types)33  - [Типы в куче](https://python-all.ru/3.12/c-api/typeobj.html#heap-types)34  - [Структуры числовых объектов](https://python-all.ru/3.12/c-api/typeobj.html#number-object-structures)35  - [Структуры объектов отображений](https://python-all.ru/3.12/c-api/typeobj.html#mapping-object-structures)36  - [Структуры объектов последовательностей](https://python-all.ru/3.12/c-api/typeobj.html#sequence-object-structures)37  - [Структуры буферных объектов](https://python-all.ru/3.12/c-api/typeobj.html#buffer-object-structures)38  - [Структуры асинхронных объектов](https://python-all.ru/3.12/c-api/typeobj.html#async-object-structures)39  - [typedefs типов слотов](https://python-all.ru/3.12/c-api/typeobj.html#slot-type-typedefs)40  - [Примеры](https://python-all.ru/3.12/c-api/typeobj.html#examples)41- [Поддержка циклической сборки мусора](https://python-all.ru/3.12/c-api/gcsupport.html)4243  - [Управление состоянием сборщика мусора](https://python-all.ru/3.12/c-api/gcsupport.html#controlling-the-garbage-collector-state)44  - [Запрос состояния сборщика мусора](https://python-all.ru/3.12/c-api/gcsupport.html#querying-garbage-collector-state)45