From 1339274f775055f7b31d8658e70b864011d312b1 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 9 Dec 2023 10:31:50 -0500 Subject: [PATCH] Fix type annotations on remove_matching. --- jaraco/collections.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jaraco/collections.py b/jaraco/collections.py index f6ebb90..27db666 100644 --- a/jaraco/collections.py +++ b/jaraco/collections.py @@ -1058,7 +1058,8 @@ def random(self): def remove_matching( - orig: collections.abc.MutableMapping[Any:Any], predicate: Union[str, callable] + orig: collections.abc.MutableMapping[Any, Any], + predicate: _Matchable, ): """ Remove items from orig that match the predicate.