[Python-Dev] PEP 544: Protocols

Ivan Levkivskyi levkivskyi at gmail.com
Mon Mar 20 20:28:45 EDT 2017


On 21 March 2017 at 00:23, Barry Warsaw <barry at python.org> wrote:

> On Mar 20, 2017, at 01:00 PM, Ivan Levkivskyi wrote:
>
> [SNIP]
>
> IIUC, the Python 3 way to spell this is with a decorator.
>

Thanks, I will update this.


> [SNIP]
> (also, since this is Python 3, do you really need to inherit from object?)
>

Indeed.

--
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170321/70dfeec3/attachment.html>


More information about the Python-Dev mailing list