Message261686
In Python 2, the class was called “dictproxy”, the repr() used “dict_proxy” with an underscore, and it is exposed as types.DictProxyType. So I guess that is where the term comes from. In Python 3.3, Issue 14386 renamed the class and repr() to “mappingproxy”, and re-introduced it to types as MappingProxyType. (DictProxyType was previously removed in revision 15649aef2db5.)
So in Python 3 I would probably change it from “dictproxy” to a types.MappingProxyType link. |
|
Date |
User |
Action |
Args |
2016-03-13 07:56:10 | martin.panter | set | recipients:
+ martin.panter, docs@python, serhiy.storchaka, mdk |
2016-03-13 07:56:10 | martin.panter | set | messageid: <1457855770.11.0.525324959146.issue26547@psf.upfronthosting.co.za> |
2016-03-13 07:56:10 | martin.panter | link | issue26547 messages |
2016-03-13 07:56:10 | martin.panter | create | |
|