diff options
| author | Scott Gasch <[email protected]> | 2021-10-29 10:33:07 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-10-29 10:33:07 -0700 |
| commit | 29ee1f98654a689e9cab76b0c7c68428faa43a8c (patch) | |
| tree | 856a21eeb335704045eb64a7bb903f9650a4d802 /collect | |
| parent | 8bc64f43dac0b56e2ef734e183490e840d7382d6 (diff) | |
Adds Arper, cleans up other stuff.
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 |
