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

Skip to content

Commit 0dd7507

Browse files
committed
What used to be tp_xxx4 is now tp_flags; set it to Py_TPFLAGS_DEFAULT.
1 parent 145c26e commit 0dd7507

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Modules/parsermodule.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@ PyTypeObject PyAST_Type = {
232232
/* Functions to access object as input/output buffer */
233233
0, /* tp_as_buffer */
234234

235-
/* Space for future expansion */
236-
0, /* tp_xxx4 */
235+
Py_TPFLAGS_DEFAULT, /* tp_flags */
237236

238237
/* __doc__ */
239238
"Intermediate representation of a Python parse tree."

0 commit comments

Comments
 (0)