From 6d043f67210a4fc8e5c182c4cd5c71884053868d Mon Sep 17 00:00:00 2001 From: wirawan Date: Thu, 10 Mar 2011 19:20:35 +0000 Subject: [PATCH] * Simple clarification on example. --- params/params_flat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/params/params_flat.py b/params/params_flat.py index 7585cf4..3583005 100644 --- a/params/params_flat.py +++ b/params/params_flat.py @@ -1,4 +1,4 @@ -# $Id: params_flat.py,v 1.1 2010-09-30 16:16:38 wirawan Exp $ +# $Id: params_flat.py,v 1.2 2011-03-10 19:20:35 wirawan Exp $ # # wpylib.params.params_flat module # Created: 20100930 @@ -247,8 +247,8 @@ class Parameters(dict): def __init__(self, ...): # self.opts holds the factory default self.opts = Parameters() - self.opts.cleanup = True # example - + self.opts.cleanup = True # an example parameter + def doit(self, src=None, info=None, _defaults_=dict(src="source.txt", info="INFO.txt", debug=1), **_opts_):