summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Scheller <github@loowis.durge.org>2016-09-07 13:03:11 +0100
committerGitHub <noreply@github.com>2016-09-07 13:03:11 +0100
commitc69a24d400a67f77292eb0892b4a8ed6048966a4 (patch)
tree045a838dedbc93837e438b0fa3e2b6e74ef8ba00
parent07e5b4653509d78350ce6dcb5529a6ae1e67d738 (diff)
docstring correction
frozendict doesn't preserve ordering
-rw-r--r--frozendict/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/frozendict/__init__.py b/frozendict/__init__.py
index 9a63a65..b3a7e41 100644
--- a/frozendict/__init__.py
+++ b/frozendict/__init__.py
@@ -6,7 +6,7 @@ import functools
class frozendict(collections.Mapping):
"""
An immutable wrapper around dictionaries that implements the complete :py:class:`collections.Mapping`
- interface. It can be used as a drop-in replacement for dictionaries where immutability and ordering are desired.
+ interface. It can be used as a drop-in replacement for dictionaries where immutability is desired.
"""
dict_cls = dict
@@ -43,7 +43,7 @@ class frozendict(collections.Mapping):
class FrozenOrderedDict(frozendict):
"""
- A FrozenDict subclass that maintains key order
+ A frozendict subclass that maintains key order
"""
dict_cls = collections.OrderedDict