On 21 March 2017 at 00:23, Barry Warsaw <ba...@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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to