Fix various glitches.

This commit is contained in:
Martin v. Löwis 2010-08-28 15:43:34 +00:00
parent 9cb768bb8f
commit 2fc8df834e
1 changed files with 6 additions and 5 deletions

View File

@ -129,7 +129,7 @@ are available::
void *pfunc; /* function pointer */
} PyType_Slot;
struct{
typedef struct{
const char* name;
const char* doc;
int basicsize;
@ -149,10 +149,10 @@ The slot ids are named like the field names of the structures that
hold the pointers in Python 3.1, with an added ``Py_`` prefix (i.e.
Py_tp_dealloc instead of just tp_dealloc):
- tp_dealloc, tp_print, tp_getattr, tp_setattr, tp_repr,
- tp_dealloc, tp_getattr, tp_setattr, tp_repr,
tp_hash, tp_call, tp_str, tp_getattro, tp_setattro,
tp_doc, tp_traverse, tp_clear, tp_richcompare, tp_iter,
tp_iternext, tp_methods, tp_base, tp_descr_set, tp_descr_set,
tp_iternext, tp_methods, tp_base, tp_descr_get, tp_descr_set,
tp_init, tp_alloc, tp_new, tp_is_gc, tp_bases, tp_del
- nb_add nb_subtract nb_multiply nb_remainder nb_divmod nb_power
nb_negative nb_positive nb_absolute nb_bool nb_invert nb_lshift
@ -161,7 +161,7 @@ Py_tp_dealloc instead of just tp_dealloc):
nb_inplace_power nb_inplace_lshift nb_inplace_rshift nb_inplace_and
nb_inplace_xor nb_inplace_or nb_floor_divide nb_true_divide
nb_inplace_floor_divide nb_inplace_true_divide nb_index
- sq_length sq_concat sq_repeat sq_item sq_ass_item was_sq_ass_slice
- sq_length sq_concat sq_repeat sq_item sq_ass_item
sq_contains sq_inplace_concat sq_inplace_repeat
- mp_length mp_subscript mp_ass_subscript
- bf_getbuffer bf_releasebuffer
@ -169,7 +169,7 @@ Py_tp_dealloc instead of just tp_dealloc):
XXX Not supported yet: tp_weaklistoffset, tp_dictoffset
The following fields cannot be set during type definition:
- tp_dict tp_mro tp_cache tp_subclasses tp_weaklist
- tp_dict tp_mro tp_cache tp_subclasses tp_weaklist tp_print
Functions and function-like Macros
----------------------------------
@ -212,6 +212,7 @@ of the ABI:
- pydebug.h
- symtable.h
- token.h
- parsetok.h
In addition, functions expecting ``FILE*`` are not part of
the ABI, to avoid depending on a specific version of the