commit | 02556fbade5e1e864dd09d5768a8dbbf5b3a0dac | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | Thu Jan 11 21:53:49 2018 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 11 21:53:49 2018 -0800 |
tree | 14aa995e97221042d271e1c431397e7bb9dee2b0 | |
parent | 782d6fe4434381c50e0c7ec94a1ef9c6debbc333 [diff] [blame] |
bpo-32467: Let collections.abc.ValuesView inherit from Collection (#5152)
diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py index a5c7bfc..dbe30df 100644 --- a/Lib/_collections_abc.py +++ b/Lib/_collections_abc.py
@@ -746,7 +746,7 @@ ItemsView.register(dict_items) -class ValuesView(MappingView): +class ValuesView(MappingView, Collection): __slots__ = ()