diff options
Diffstat (limited to 'Include/structmember.h')
-rw-r--r-- | Include/structmember.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index 2c9f41d..98eccc0 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -68,6 +68,10 @@ typedef struct PyMemberDef { #define T_PSTRING_INPLACE 15 #endif /* macintosh */ +#define T_OBJECT_EX 16 /* Like T_OBJECT, but raises AttributeError + when the value is NULL, instead of + converting to None. */ + /* Flags */ #define READONLY 1 #define RO READONLY /* Shorthand */ |