Il giorno 18 marzo 2016 08:31, Marco De Paoli <depao...@gmail.com> ha
scritto:

> https://pymotw.com/3/abc/
>
> publicato ieri
>
> - Marco
>
Interessante, grazie.

Il paragrafo sulle abstract properties
<https://pymotw.com/3/abc/#abstract-properties> fa vedere anche come può
essere necessario definire come abstractmethod il setter della property.
Questo mi è servito per inizializzare una proprietà astratta nel metodo
__init__.

Anche sul libro Fluent Python
<http://shop.oreilly.com/product/0636920032519.do> c'è un capitolo dedicato
all'argomento.

-- 
|_|0|_|
|_|_|0|
|0|0|0|
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a