From 29ee1f98654a689e9cab76b0c7c68428faa43a8c Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Fri, 29 Oct 2021 10:33:07 -0700 Subject: Adds Arper, cleans up other stuff. --- collect/bidict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'collect') 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 -- cgit v1.3