]> granicus.if.org Git - python/commitdiff
Only expose the abstract base classes.
authorRaymond Hettinger <python@rcn.com>
Sat, 31 Jul 2010 07:12:50 +0000 (07:12 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 31 Jul 2010 07:12:50 +0000 (07:12 +0000)
The concrete types are for internal use (registration).
We are not trying to resurrect the types module
in collections.

Lib/_abcoll.py

index cc00fd9b5d5163ccf4a1d675342cff2f3812fd16..7890e97473962b1522d9acbbb44871bb03afee36 100644 (file)
@@ -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",
            ]