File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,23 @@ PyAPI_FUNC(struct _mod *) PyParser_ASTFromFileObject(
72
72
#define PyParser_SimpleParseFile (FP , S , B ) \
73
73
PyParser_SimpleParseFileFlags(FP, S, B, 0)
74
74
#endif
75
- Py_DEPRECATED (3.9 ) PyAPI_FUNC (struct _node * ) PyParser_SimpleParseStringFlags (const char * ,
76
- int , int );
75
+
76
+ #ifndef Py_BUILD_CORE
77
+ Py_DEPRECATED (3.9 )
78
+ #endif
79
+ PyAPI_FUNC (struct _node * ) PyParser_SimpleParseStringFlags (const char * , int , int );
77
80
#if !defined(Py_LIMITED_API ) || Py_LIMITED_API + 0 >= 0x03030000
78
- Py_DEPRECATED (3.9 ) PyAPI_FUNC (struct _node * ) PyParser_SimpleParseStringFlagsFilename (const char * ,
79
- const char * ,
80
- int , int );
81
+ #ifndef Py_BUILD_CORE
82
+ Py_DEPRECATED (3.9 )
83
+ #endif
84
+ PyAPI_FUNC (struct _node * ) PyParser_SimpleParseStringFlagsFilename (const char * ,
85
+ const char * ,
86
+ int , int );
87
+ #endif
88
+ #ifndef Py_BUILD_CORE
89
+ Py_DEPRECATED (3.9 )
81
90
#endif
82
- Py_DEPRECATED (3.9 ) PyAPI_FUNC (struct _node * ) PyParser_SimpleParseFileFlags (FILE * , const char * ,
83
- int , int );
91
+ PyAPI_FUNC (struct _node * ) PyParser_SimpleParseFileFlags (FILE * , const char * , int , int );
84
92
#ifndef Py_LIMITED_API
85
93
PyAPI_FUNC (PyObject * ) PyRun_StringFlags (const char * , int , PyObject * ,
86
94
PyObject * , PyCompilerFlags * );
You can’t perform that action at this time.
0 commit comments