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

objimpl.md

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

1> **Источник:** https://python-all.ru/3.9/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.9/c-api/allocation.html)12- [Общие структуры объектов](https://python-all.ru/3.9/c-api/structures.html)1314  - [Базовые типы объектов и макросы](https://python-all.ru/3.9/c-api/structures.html#base-object-types-and-macros)15  - [Реализация функций и методов](https://python-all.ru/3.9/c-api/structures.html#implementing-functions-and-methods)16  - [Доступ к атрибутам типов-расширений](https://python-all.ru/3.9/c-api/structures.html#accessing-attributes-of-extension-types)17- [Объекты типов](https://python-all.ru/3.9/c-api/typeobj.html)1819  - [Краткий справочник](https://python-all.ru/3.9/c-api/typeobj.html#quick-reference)2021    - [“tp slots”](https://python-all.ru/3.9/c-api/typeobj.html#tp-slots)22    - [под-слоты](https://python-all.ru/3.9/c-api/typeobj.html#sub-slots)23    - [typedefs слотов](https://python-all.ru/3.9/c-api/typeobj.html#slot-typedefs)24  - [Определение PyTypeObject](https://python-all.ru/3.9/c-api/typeobj.html#pytypeobject-definition)25  - [Слоты PyObject](https://python-all.ru/3.9/c-api/typeobj.html#pyobject-slots)26  - [Слоты PyVarObject](https://python-all.ru/3.9/c-api/typeobj.html#pyvarobject-slots)27  - [Слоты PyTypeObject](https://python-all.ru/3.9/c-api/typeobj.html#pytypeobject-slots)28  - [Типы в куче](https://python-all.ru/3.9/c-api/typeobj.html#heap-types)29- [Структуры числовых объектов](https://python-all.ru/3.9/c-api/typeobj.html#number-object-structures)30- [Структуры объектов отображений](https://python-all.ru/3.9/c-api/typeobj.html#mapping-object-structures)31- [Структуры объектов последовательностей](https://python-all.ru/3.9/c-api/typeobj.html#sequence-object-structures)32- [Структуры буферных объектов](https://python-all.ru/3.9/c-api/typeobj.html#buffer-object-structures)33- [Структуры асинхронных объектов](https://python-all.ru/3.9/c-api/typeobj.html#async-object-structures)34- [typedefs типов слотов](https://python-all.ru/3.9/c-api/typeobj.html#slot-type-typedefs)35- [Примеры](https://python-all.ru/3.9/c-api/typeobj.html#examples)36- [Поддержка циклической сборки мусора](https://python-all.ru/3.9/c-api/gcsupport.html)37