Skip to content

Commit a578a12

Browse files
DavidSpickettakadutta
authored andcommitted
[lldb] Remove Python 2 compatibility code in embedded_interpreter.py
LLDB requires Python >= 3.8. https://docs.python.org/3/whatsnew/3.0.html#library-changes explains the renaming in Python 3.0.
1 parent 3206d73 commit a578a12

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lldb/source/Interpreter/embedded_interpreter.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import sys
2-
3-
if sys.version_info[0] < 3:
4-
import __builtin__ as builtins
5-
else:
6-
import builtins
2+
import builtins
73
import code
84
import lldb
95
import traceback

0 commit comments

Comments
 (0)