diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-01-26 10:51:29 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-02-20 18:27:10 +0000 |
commit | 4fa56fe2f8618f5fbc47ec21ac033d5e7ac2790d (patch) | |
tree | 193b59ca73e7c7a512ec7517320cd8cda57e533d /tests | |
parent | d07cceb13e13cfe806c37527e602cde0789ea8c3 (diff) | |
download | gem5-4fa56fe2f8618f5fbc47ec21ac033d5e7ac2790d.tar.xz |
python: Add __bool__ helpers in addition to __nonzero__
Python 3 uses __bool__ instead of __nonzero__ when performing a
Boolean comparison.
Change-Id: I85185bbe136ecae67346fa23569e24edd7329222
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15996
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions