@@ -349,6 +349,15 @@ The following functions and structs are used to create
349
349
:c:member: `~PyTypeObject.tp_new ` is deprecated and in Python 3.14+ it
350
350
will be no longer allowed.
351
351
352
+ .. raw :: html
353
+
354
+ <!-- Keep old URL fragments working (see gh-97908) -->
355
+ <span id =' c.PyType_Spec.PyType_Spec.name' ></span >
356
+ <span id =' c.PyType_Spec.PyType_Spec.basicsize' ></span >
357
+ <span id =' c.PyType_Spec.PyType_Spec.itemsize' ></span >
358
+ <span id =' c.PyType_Spec.PyType_Spec.flags' ></span >
359
+ <span id =' c.PyType_Spec.PyType_Spec.slots' ></span >
360
+
352
361
.. c :type :: PyType_Spec
353
362
354
363
Structure defining a type's behavior.
@@ -410,12 +419,18 @@ The following functions and structs are used to create
410
419
411
420
Each slot ID should be specified at most once.
412
421
422
+ .. raw :: html
423
+
424
+ <!-- Keep old URL fragments working (see gh-97908) -->
425
+ <span id =' c.PyType_Slot.PyType_Slot.slot' ></span >
426
+ <span id =' c.PyType_Slot.PyType_Slot.pfunc' ></span >
427
+
413
428
.. c :type :: PyType_Slot
414
429
415
430
Structure defining optional functionality of a type, containing a slot ID
416
431
and a value pointer.
417
432
418
- .. c :member :: int PyType_Slot. slot
433
+ .. c :member :: int slot
419
434
420
435
A slot ID.
421
436
@@ -459,7 +474,7 @@ The following functions and structs are used to create
459
474
:c:member:`~PyBufferProcs.bf_releasebuffer` are now available
460
475
under the limited API.
461
476
462
- .. c:member:: void *PyType_Slot. pfunc
477
+ .. c:member:: void *pfunc
463
478
464
479
The desired value of the slot. In most cases, this is a pointer
465
480
to a function.
0 commit comments