[Types-sig] Interface PEP
Michel Pelletier
michel@digicool.com
Wed, 14 Mar 2001 13:25:06 -0800 (PST)
On Wed, 14 Mar 2001, Paul Prescod wrote:
>
> interface ReadableFile:
> def read(size):
> pass
There's a little nugget of gold here, BTW. In the PEP, I had the first
argument of interface method's being 'self', like the class syntax. But
self is very much an implementation issue, not a specification issue.
Looking at what you have here convinced me of that. I've removed the
'self's from the PEP.
Thanks,
-Michel