Python 2/3 compat: unichr vs chr

llvm-svn: 356904
This commit is contained in:
Serge Guelton 2019-03-25 15:12:48 +00:00
parent 976073794e
commit cdfcbbd348

View File

@ -11,6 +11,10 @@ import lldb
import lldb.runtime.objc.objc_runtime
import lldb.formatters.Logger
try:
unichr
except NameError:
unichr = chr
def CFString_SummaryProvider(valobj, dict):
logger = lldb.formatters.Logger.Logger()