Python logo

موضوع قبلی

Memory Management

موضوع بعدی

تخصیص اشیاء روی پشته

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
این یک پیش‌نمایش مستقرشده است که از یک درخواست ادغام ایجاد شده است. برای مشاهده‌ی مستندات معتبر، به نسخه‌ی پایدار فعلی.

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 Documentation »
  • Python/C API reference manual »
  • Object Implementation Support
  • |
  • |

Object Implementation Support¶

This chapter describes the functions, types, and macros used when defining new object types.

  • تخصیص اشیاء روی پشته
    • نامهای مستعار با منسوخ‌سازی نرم
  • Object Life Cycle
    • Life Events
    • Cyclic Isolate Destruction
    • Functions
  • Common Object Structures
    • Base object types and macros
    • Implementing functions and methods
    • Accessing attributes of extension types
      • Member flags
      • Member types
      • Defining Getters and Setters
  • Type Object Structures
    • Quick Reference
      • "tp slots"
      • sub-slots
      • slot typedefs
    • PyTypeObject Definition
    • PyObject Slots
    • PyVarObject Slots
    • PyTypeObject Slots
    • Static Types
    • Heap Types
    • Number Object Structures
    • Mapping Object Structures
    • Sequence Object Structures
    • Buffer Object Structures
    • Async Object Structures
    • Slot Type typedefs
    • Examples
  • Supporting Cyclic Garbage Collection
    • Traversal
      • Traversal-safe functions
      • "DuringGC" functions
    • Controlling the Garbage Collector State
    • Querying Garbage Collector State

موضوع قبلی

Memory Management

موضوع بعدی

تخصیص اشیاء روی پشته

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
«

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 Documentation »
  • Python/C API reference manual »
  • Object Implementation Support
  • |
  • |
© حق نشر 2001 Python Software Foundation.
این صفحه تحت مجوز بنیاد نرم‌افزار پایتون نسخه ۲ منتشر شده است.
مثال‌ها، دستورالعمل‌ها، و سایر کدهای موجود در مستندات همچنین تحت مجوز بدون بند BSD منتشر شده‌اند.
برای اطلاعات بیشتر به تاریخچه و مجوز مراجعه کنید.
میزبانی شده روی Read the Docs.

بنیاد نرم‌افزار پایتون یک شرکت غیرانتفاعی است. لطفاً کمک مالی کنید.

آخرین به‌روزرسانی در اوت 20, 2026 (11:54 UTC). آیا اشکالی یافتید؟
ساخته شده با Sphinx 8.2.3.