Dunder variables

Frank Millman frank at chagford.com
Tue Jan 9 02:55:49 EST 2018


Hi all
I have read that one should not call dunder methods in application code.
Does the same apply to dunder variables? I am thinking of the instance 
attribute __dict__, which allows access to the contents of the instance.
I only want to read from __dict__, not update it. Is this frowned upon?
Thanks
Frank Millman


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /