diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-01-12 05:53:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 05:53:49 (GMT) |
commit | 02556fbade5e1e864dd09d5768a8dbbf5b3a0dac (patch) | |
tree | 14aa995e97221042d271e1c431397e7bb9dee2b0 /Lib/_collections_abc.py | |
parent | 782d6fe4434381c50e0c7ec94a1ef9c6debbc333 (diff) | |
download | cpython-02556fbade5e1e864dd09d5768a8dbbf5b3a0dac.zip cpython-02556fbade5e1e864dd09d5768a8dbbf5b3a0dac.tar.gz cpython-02556fbade5e1e864dd09d5768a8dbbf5b3a0dac.tar.bz2 |
bpo-32467: Let collections.abc.ValuesView inherit from Collection (#5152)
Diffstat (limited to 'Lib/_collections_abc.py')
-rw-r--r-- | Lib/_collections_abc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class ItemsView(MappingView, Set): ItemsView.register(dict_items) -class ValuesView(MappingView): +class ValuesView(MappingView, Collection): __slots__ = () |