Python logo

Topik sebelumnya

Memory Management

Topik berikutnya

Mengalokasikan objek kedalam struktur data (heap)

This page

  • Report a bug
  • Show source

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • Panduan Referensi Python/API C »
  • Dukungan Implementasi Objek
  • |
  • |

Dukungan Implementasi Objek¶

Bab ini menjelaskan fungsi, tipe, dan makro yang digunakan saat menentukan tipe objek baru.

  • Mengalokasikan objek kedalam struktur data (heap)
  • Struktur Objek Umum
    • 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
    • Referensi Cepat
      • "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
    • Contoh-contoh
  • Supporting Cyclic Garbage Collection
    • Controlling the Garbage Collector State
    • Querying Garbage Collector State

Topik sebelumnya

Memory Management

Topik berikutnya

Mengalokasikan objek kedalam struktur data (heap)

This page

  • Report a bug
  • Show source
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • Panduan Referensi Python/API C »
  • Dukungan Implementasi Objek
  • |
  • |
© Hak cipta 2001-2025, Python Software Foundation.
Halaman ini dilisensikan di bawah Lisensi Python Software Foundation Versi 2.
Contoh, resep, dan kode lainnya dalam dokumentasi juga dilisensikan di bawah Lisensi Zero Clause BSD.
Lihat Sejarah dan Lisensi untuk informasi lebih lanjut.

Python Software Foundation adalah sebuah korporasi nirlaba. Mari berdonasi.

Terakhir diperbarui pada Sep 23, 2025 (07:06 UTC). Menemukan kekutu?
Dibuat menggunakan Sphinx 8.2.3.