On 12-06-2015 20:12, Peter Otten wrote:
> Paulo da Silva wrote:
> 
>> On 12-06-2015 17:17, Peter Otten wrote:
>>> Paulo da Silva wrote:
>>>
>> ...
...

> It *is* a class, and by making C a subclass of SimpleNamespace C inherits 
> the initialiser which does the actual work of updating the __dict__ of the C 
> instance.
> 

OK, OK ...
Somehow I "changed" my mind to think SimpleNamespace as an argument of
__init__ and not as a subclass. I should have looked better before
responding.
Sorry.

Thank you very much.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to