Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe5a538

Browse files
committed
Use the right types for a couple of fields of the type structure.
1 parent 0ffd14c commit fe5a538

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/ext/typestruct.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ typedef struct _typeobject {
5555

5656
/* Attribute descriptor and subclassing stuff */
5757
struct PyMethodDef *tp_methods;
58-
struct memberlist *tp_members;
59-
struct getsetlist *tp_getset;
58+
struct PyMemberDef *tp_members;
59+
struct PyGetSetDef *tp_getset;
6060
struct _typeobject *tp_base;
6161
PyObject *tp_dict;
6262
descrgetfunc tp_descr_get;

0 commit comments

Comments
 (0)