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
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to