summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-11-17 19:00:20 +0000
committerEnrico Granata <egranata@apple.com>2014-11-17 19:00:20 +0000
commit6e0566c6d9a8e4d385e55af31072f192fa6826d4 (patch)
treeaa4321b252bcc29e4b4ad15265360aa1a2da6409 /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parent85a429a67a59f692dc452e6f1432e3859043f703 (diff)
downloadbcm5719-llvm-6e0566c6d9a8e4d385e55af31072f192fa6826d4.tar.gz
bcm5719-llvm-6e0566c6d9a8e4d385e55af31072f192fa6826d4.zip
Not all things callable have an im_self, so harden the test logic against that. getattr(,,None) is the closest to ?. we have in Python, so use that
llvm-svn: 222160
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud