Skip to content

Commit 82c6246

Browse files
committed
undo errant increase in sys.flags tuple fields from the lazy_imports PR and mention that in a comment to avoid it recurring
1 parent 260e941 commit 82c6246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/sysmodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3511,7 +3511,8 @@ static PyStructSequence_Desc flags_desc = {
35113511
"sys.flags", /* name */
35123512
flags__doc__, /* doc */
35133513
flags_fields, /* fields */
3514-
19 /* NB - do not increase. new fields are not tuple fields. GH-122575 */
3514+
18 /* NB - do not increase. new fields are not tuple fields. GH-122575 */
3515+
// https://github.com/python/cpython/issues/122575#issuecomment-2416497086
35153516
};
35163517

35173518
static void

0 commit comments

Comments
 (0)