File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ There are a large number of structures which are used in the definition of
9
9
object types for Python. This section describes these structures and how they
10
10
are used.
11
11
12
+
13
+ Base object types and macros
14
+ ----------------------------
15
+
12
16
All Python objects ultimately share a small number of fields at the beginning
13
17
of the object's representation in memory. These are represented by the
14
18
:c:type: `PyObject ` and :c:type: `PyVarObject ` types, which are defined, in turn,
@@ -102,6 +106,9 @@ the definition of all other Python objects.
102
106
1, type, size,
103
107
104
108
109
+ Implementing functions and methods
110
+ ----------------------------------
111
+
105
112
.. c :type :: PyCFunction
106
113
107
114
Type of the functions used to implement most Python callables in C.
@@ -271,6 +278,9 @@ definition with the same method name.
271
278
than wrapper object calls.
272
279
273
280
281
+ Accessing attributes of extension types
282
+ ---------------------------------------
283
+
274
284
.. c :type :: PyMemberDef
275
285
276
286
Structure which describes an attribute of a type which corresponds to a C
You can’t perform that action at this time.
0 commit comments