diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-09-04 18:59:10 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-09-04 18:59:10 +0000 |
commit | 24223eb24c74a116e1a3eb704d28e61454719a74 (patch) | |
tree | d69085e3630ccec381cb2942cc1f2fe75e9fcd99 /lldb/packages/Python/lldbsuite/test/python_api/file_handle | |
parent | 5559406ae5d21fab0bcd6a07347f4f928d3c7ce8 (diff) | |
download | bcm5719-llvm-24223eb24c74a116e1a3eb704d28e61454719a74.tar.gz bcm5719-llvm-24223eb24c74a116e1a3eb704d28e61454719a74.zip |
[Python] Implement truth testing for lldb.value
Python 3 calls __bool__() instead of __len__() and lldb.value only
implemented the __len__ method. This adds the __bool__() implementation.
Differential revision: https://reviews.llvm.org/D67183
llvm-svn: 370953
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/file_handle')
0 files changed, 0 insertions, 0 deletions