From e34d9c569304b1fda40f292bdb6147a2e5188319 Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Sun, 1 Dec 2013 19:42:55 +0100 Subject: [PATCH] Docstring cleanup --- feedgen/util.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/feedgen/util.py b/feedgen/util.py index da83c95..9dea987 100644 --- a/feedgen/util.py +++ b/feedgen/util.py @@ -16,12 +16,12 @@ def ensure_format(val, allowed, required, allowed_values=None, defaults=None): the set of allowed keys, if all required keys are present and if the values of a specific key are ok. - :param val: Dictionaries to check. - :param allowed: Set of allowed keys. - :param required: Set of required keys. + :param val: Dictionaries to check. + :param allowed: Set of allowed keys. + :param required: Set of required keys. :param allowed_values: Dictionary with keys and sets of their allowed values. - :returns: List of checked dictionaries. - :param defaults: Dictionary with default values. + :param defaults: Dictionary with default values. + :returns: List of checked dictionaries. ''' if not val: return None