Skip to content

Commit

Permalink
new tp_str and tp_doc members in type object
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Jan 7, 1995
1 parent 4a1da26 commit 6fde390
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Include/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6fde390

Please sign in to comment.