Merge pull request #12 from lurch/patch-1
docstring correction
Santiago Lezica authored 7 years ago
GitHub committed 7 years ago
15 | 15 | class frozendict(collections.Mapping): |
16 | 16 | """ |
17 | 17 | An immutable wrapper around dictionaries that implements the complete :py:class:`collections.Mapping` |
18 | interface. It can be used as a drop-in replacement for dictionaries where immutability and ordering are desired. | |
18 | interface. It can be used as a drop-in replacement for dictionaries where immutability is desired. | |
19 | 19 | """ |
20 | 20 | |
21 | 21 | dict_cls = dict |
53 | 53 | |
54 | 54 | class FrozenOrderedDict(frozendict): |
55 | 55 | """ |
56 | A FrozenDict subclass that maintains key order | |
56 | A frozendict subclass that maintains key order | |
57 | 57 | """ |
58 | 58 | |
59 | 59 | dict_cls = OrderedDict |