From 90d075040e518f4b726e1f54d310e10a1e90db12 Mon Sep 17 00:00:00 2001 From: kakwa Date: Mon, 20 Jul 2015 00:44:14 +0200 Subject: [PATCH] better docstrings --- ldapcherry/ppolicy/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ldapcherry/ppolicy/__init__.py b/ldapcherry/ppolicy/__init__.py index 7818266..90bd04c 100644 --- a/ldapcherry/ppolicy/__init__.py +++ b/ldapcherry/ppolicy/__init__.py @@ -16,7 +16,7 @@ class PPolicy: :param config: the configuration of the ppolicy :type config: hash {'config key': 'value'} :param logger: the cherrypy error logger object - "type logger: python logger + :type logger: python logger """ pass @@ -48,6 +48,8 @@ class PPolicy: if param is not in configuration and default is None (which is the default value). :type default: string or None + :rtype: the value of the parameter or the default value if + not set in configuration """ if param in self.config: return self.config[param]