File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
lldb/source/Plugins/ScriptInterpreter/Python Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -149,10 +149,10 @@ struct InitializePythonRAII {
149149 }
150150
151151#if (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 8) || (PY_MAJOR_VERSION > 3)
152- config.install_signal_handlers = 0 ;
153- Py_InitializeFromConfig (&config);
154- PyConfig_Clear (&config);
155- InitializeThreadsPrivate ();
152+ config.install_signal_handlers = 0 ;
153+ Py_InitializeFromConfig (&config);
154+ PyConfig_Clear (&config);
155+ InitializeThreadsPrivate ();
156156#else
157157// Python < 3.2 and Python >= 3.2 reversed the ordering requirements for
158158// calling `Py_Initialize` and `PyEval_InitThreads`. < 3.2 requires that you
@@ -180,7 +180,6 @@ struct InitializePythonRAII {
180180 }
181181
182182private:
183-
184183 void InitializeThreadsPrivate () {
185184// Since Python 3.7 `Py_Initialize` calls `PyEval_InitThreads` inside itself,
186185// so there is no way to determine whether the embedded interpreter
You can’t perform that action at this time.
0 commit comments