Kaydet (Commit) 6fde3906 authored tarafından Guido van Rossum's avatar Guido van Rossum

new tp_str and tp_doc members in type object

üst 4a1da268
......@@ -218,6 +218,16 @@ typedef struct _typeobject {
hashfunc tp_hash;
binaryfunc tp_call;
reprfunc tp_str;
/* Space for future expansion */
long tp_xxx1;
long tp_xxx2;
long tp_xxx3;
long tp_xxx4;
char *tp_doc; /* Documentation string */
#ifdef COUNT_ALLOCS
/* these must be last */
int tp_alloc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment