diff options
Diffstat (limited to 'collect')
| -rw-r--r-- | collect/bidict.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collect/bidict.py b/collect/bidict.py index 1fa66dc..8153e54 100644 --- a/collect/bidict.py +++ b/collect/bidict.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -class bidict(dict): +class BiDict(dict): def __init__(self, *args, **kwargs): """ A class that stores both a Mapping between keys and values and @@ -9,7 +9,7 @@ class bidict(dict): is possible to have several keys with the same value, using the inverse map returns a sequence of keys. - >>> d = bidict() + >>> d = BiDict() >>> d['a'] = 1 >>> d['b'] = 2 >>> d['c'] = 2 |
