mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-04 06:51:56 +00:00
Python 2/3 compat: unichr vs chr
llvm-svn: 356904
This commit is contained in:
parent
976073794e
commit
cdfcbbd348
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user