projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve docstrings for sphinx.
[python_utils.git]
/
collect
/
bidict.py
diff --git
a/collect/bidict.py
b/collect/bidict.py
index 8153e54446c8a4c5a36f96ba85e0b93c9afafe18..375721e4a2652564ddfe42c6dc61925f8c7b4a76 100644
(file)
--- a/
collect/bidict.py
+++ b/
collect/bidict.py
@@
-1,5
+1,10
@@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""Bidirectional Dictionary."""
+
+
class BiDict(dict):
def __init__(self, *args, **kwargs):
"""
@@
-50,4
+55,5
@@
class BiDict(dict):
if __name__ == '__main__':
import doctest
+
doctest.testmod()