[prev in list] [next in list] [prev in thread] [next in thread]
List: zope3-dev
Subject: RE: [Zope3-dev] interface conventions: default=_RAISE_ERROR
From: "Gary Poster" <garyposter () earthlink ! net>
Date: 2002-05-23 15:24:28
[Download RAW message or body]
Sounds fine to me. If I can find the time I'll help switching things over
once you give the go-ahead.
Gary
-----Original Message-----
From: zope3-dev-admin@zope.org [mailto:zope3-dev-admin@zope.org]On
Behalf Of Jim Fulton
<snip>
I suggest the following accessor style, which I'll write up in a
separate proposal:
getXXX(parm1, ..., parmn)
Get an XXX. If XXX is not found, raise an error.
queryXXX(parm1, ..., parmn, default=None)
Get an XXX is there is one, otherwise return the default, which
defaults to None.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic