Issue #11297: Add collections.ChainMap()

This commit is contained in:
Raymond Hettinger 2011-02-26 01:02:51 +00:00
parent 692f038a5d
commit 9fe1ccfb5a
6 changed files with 123 additions and 7 deletions

View file

@ -11,7 +11,7 @@ import keyword
import re
import sys
from collections import UserDict
from collections import _ChainMap as ChainMap
from collections import ChainMap
from collections.abc import Hashable, Iterable, Iterator
from collections.abc import Sized, Container, Callable
from collections.abc import Set, MutableSet
@ -21,7 +21,7 @@ from collections.abc import ByteString
################################################################################
### _ChainMap (helper class for configparser and the string module)
### ChainMap (helper class for configparser and the string module)
################################################################################
class TestChainMap(unittest.TestCase):