I have a long nested list in Python:
[{'name': 'John', 'args': [[1], [165], [22]]},
{'name': 'Tom', 'args': [[2], [180], [28]]},
...
{'name': 'James', 'args': [[143], [174], [45]]}, # Delete from here on
...
{'name': 'Ron', 'args': [[298], [199], [38]]}]
and want delete from somewhere in the middle until the closing bracket. If I had a similar nested block with round brackets or braces, I could use d]) or d]}. That works as expected, but d]] not. Unfortunately f, t are also no good options, because of the nested structure.