File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -75,17 +75,13 @@ module sys
7575#include "clinic/sysmodule.c.h"
7676
7777
78- PyDoc_STRVAR (IncomingSysAbiflagsChange_msg ,
79- "sys.abiflags will be set to a meaningful value on all platforms "
80- "in Python 3.16 instead of absent.\n\n"
81- "Please consider using `warnings.simplefilter()` with the "
82- "`warnings.catch_warnings()` context manager.\n"
83- "Or update the code with `if sys.platform.startswith('win')` condition."
84- );
85-
86- #define WarnIncomingSysAbiflagsChange () \
87- PyErr_WarnEx(PyExc_DeprecationWarning, \
88- IncomingSysAbiflagsChange_msg, \
78+ #define WarnIncomingSysAbiflagsChange () \
79+ PyErr_WarnEx(PyExc_DeprecationWarning, \
80+ "sys.abiflags will be set to a meaningful value on all platforms " \
81+ "in Python 3.16 instead of absent.\n\n" \
82+ "Please consider using `warnings.simplefilter()` with the " \
83+ "`warnings.catch_warnings()` context manager.\n" \
84+ "Or update the code with `if sys.platform.startswith('win')` condition.", \
8985 /*stack_level=*/ 1 )
9086
9187
You can’t perform that action at this time.
0 commit comments