[Zope3-dev] Re: New Pyskel changes
Casey Duncan
casey@zope.com
Tue, 9 Jul 2002 15:44:02 -0400
On Tuesday 09 July 2002 02:56 pm, Gary Poster wrote:
> Tying together what SteveA and Guido and others have suggested: could=20
> the answer be a CVS-like $IDoc:$ or some-such that was automatically=20
> updatable from the interface through a simple tool? My syntax is ugly,=
=20
> but perhaps the idea has merit. i.e., a somehow-prettier version of
>=20
> class Foo:
> __implements__ =3D (IFoo,)
> #...
> def getBar(self, optional_extra_hint=3DNone):
> """ $IDoc: IFoo.getBar
> returns bar.
> $
>=20
> 'optional_extra_hint', if provided, ....
> """
>=20
Shouldn't that be: return bar? ;^)
Oh sorry, wrong conversation.
-Casey