Scusate, non era corretto quello che ho scritto:

In [10]: A().foo
> Out[10]: 'bar'
>
>
Quindi meglio usare property + abstractmethod


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

Rispondere a