summaryrefslogtreecommitdiff
path: root/grc/base/odict.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /grc/base/odict.py
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'grc/base/odict.py')
-rw-r--r--grc/base/odict.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/grc/base/odict.py b/grc/base/odict.py
index 0c03d753f6..70ab67d053 100644
--- a/grc/base/odict.py
+++ b/grc/base/odict.py
@@ -50,7 +50,7 @@ class odict(DictMixin):
"""
Insert the new key, value entry after the entry given by the position key.
If the positional key is None, insert at the end.
-
+
Args:
pos_key: the positional key
key: the key for the new entry
@@ -65,7 +65,7 @@ class odict(DictMixin):
"""
Insert the new key, value entry before the entry given by the position key.
If the positional key is None, insert at the begining.
-
+
Args:
pos_key: the positional key
key: the key for the new entry
@@ -79,10 +79,10 @@ class odict(DictMixin):
def find(self, key):
"""
Get the value for this key if exists.
-
+
Args:
key: the key to search for
-
+
Returns:
the value or None
"""
@@ -92,10 +92,10 @@ class odict(DictMixin):
def findall(self, key):
"""
Get a list of values for this key.
-
+
Args:
key: the key to search for
-
+
Returns:
a list of values or empty list
"""