Hi,

Quick question, can anybody tell me when to use __init__ instead of __new__ in meta programming?

I see that __new__ can be used mostly when I want to manipulate with class variables that are stored into dictionary.

But when to use __init__? Any example?

Thanx,
M
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to