Files
clang-p2996/lldb/test/API/python_api
Dave Lee 3ff636729d [lldb] Accept negative indexes in __getitem__
To the Python bindings, add support for Python-like negative indexes.

While was using `script`, I tried to access a thread's bottom frame with
`thread.frame[-1]`, but that failed. This change updates the `__getitem__`
implementations to support negative indexes as one would expect in Python.

Differential Revision: https://reviews.llvm.org/D143282
2023-02-08 10:46:26 -08:00
..
2023-01-25 12:03:11 +03:00