[issue29251] [doc] Class __dict__ is only a mapping proxy
Stanley
From what I can see, the original patch changed
... and the *dict* dictionary is the namespace containing definitions for class body and is copied to a standard dictionary to become the __dict__ attribute
into this
... and the *dict* dictionary is copied to the namespace containing definitions for the class body, which is referenced by the __dict__ attribute
so that the documentation avoids saying that the attribute is a dictionary, instead saying it just references a dictionary. However, current documentation says that
... it may be copied or wrapped before becoming the __dict__ attribute
which implies some sort of change already. In this case, is the patch for the functions page still applicable?
----------
nosy: +slateny
_______________________________________
Python tracker
participants (1)
-
Stanley