[Zope3-dev] Re: [Checkins] SVN:
Zope3/trunk/src/zope/app/renderer/rest.py added
optional parameter to the render method to allow overriding of the
Benji York
benji at zope.com
Thu Jan 11 08:54:22 EST 2007
Jodok Batlogg wrote:
> Log message for revision 71853:
> added optional parameter to the render method to allow overriding of the
> default settings for rendering rest files.
I would suggest allowing the caller to override only the options they
care to by doing a .update of the settings dict with the passed-in
overrides. That way if new options are added in the future, their code
won't break.
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Zope3-dev
mailing list