Files
typeshed/stdlib/unittest
Rob Percival cc0b41a994 Fix type hints for unittest.util.unorderable_list_difference() (#11012)
Fix type hints for unorderable_list_difference()

It claimed that the arguments were `Sequence` types (immutable), but the function removes elements from them, so they must be `MutableSequence` types. Specifically, it calls `pop()` on the first argument and `remove()` on the second argument.

See the function implementation for details:
0b06d2482d/Lib/unittest/util.py (L98-L113)
2023-11-10 17:53:03 +00:00
..
2023-09-02 15:03:39 +01:00