Skip to content

Commit 35d76ac

Browse files
committed
Fix formatting
1 parent c584381 commit 35d76ac

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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

182182
private:
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

0 commit comments

Comments
 (0)