Files
typeshed/stdlib
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-05-27 19:55:30 -07:00
2021-05-06 18:57:33 +03:00
2023-11-08 16:01:24 +00:00
2023-09-19 13:35:13 +01:00
2023-02-02 16:01:54 -08:00
2023-02-01 06:06:04 -08:00
2023-05-27 19:55:30 -07:00
2022-02-19 12:26:45 -08:00
2023-02-06 19:01:02 -08:00
2023-10-27 20:14:38 -07:00
2023-09-11 11:26:18 +01:00
2023-09-25 10:38:48 -07:00
2023-08-30 08:29:53 +01:00
2023-05-27 19:55:30 -07:00
2023-10-26 10:41:31 -07:00
2023-02-06 19:01:02 -08:00
2023-05-25 20:21:40 +01:00
2022-01-30 16:27:06 -08:00
2023-10-19 10:16:06 -07:00
2023-07-18 17:33:27 +01:00
2023-05-27 19:55:30 -07:00
2023-05-25 18:49:51 +01:00
2023-03-25 18:32:43 +02:00
2021-12-22 20:18:19 -08:00
2022-03-03 15:25:30 -08:00
2023-10-08 06:30:51 -07:00
2023-02-02 16:01:54 -08:00