From: Raymond Hettinger Date: Sat, 31 Jul 2010 07:03:42 +0000 (+0000) Subject: Only expose the abstract base classes. X-Git-Tag: v3.1.3rc1~451 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=908cb7db8c840c8839d1ec5bfe69d734fbac8456;p=python Only expose the abstract base classes. The concrete types are for internal use (registration). Keep from accidentally resurrecting the types module in collections. --- diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py index cc00fd9b5d..7890e97473 100644 --- a/Lib/_abcoll.py +++ b/Lib/_abcoll.py @@ -18,11 +18,6 @@ __all__ = ["Hashable", "Iterable", "Iterator", "MappingView", "KeysView", "ItemsView", "ValuesView", "Sequence", "MutableSequence", "ByteString", - "bytearray_iterator", "bytes_iterator", "dict_itemiterator", - "dict_items", "dict_keyiterator", "dict_keys", "dict_proxy", - "dict_valueiterator", "dict_values", "list_iterator", - "list_reverseiterator", "range_iterator", "set_iterator", - "str_iterator", "tuple_iterator", "zip_iterator", ]