Resolve "EXTERN: Slicing a Container returns a List, not a Container"
Compare changes
Files
1- Joscha Schmiedt authored
Slicing a Container
used to return a list
instead of a Container
(issue #183 (closed), issue #104 on GitLab.com). This is fixed by adding a Container.__getitem__
method.
Checkout Container.__getitem__
and the corresponding test test_container_slicing
in test_container.py
.
Regular unittests.
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.