Message183696
I had originally considered that name. However, what it really does is PyDict_GetItem(). In a specific special case, it sets a default value and *then* returns that. So it's still PyDict_GetItem(), just with a preceding modification. Also, the interface mimics PyDict_GetItem(). Its primary interface is a getter, not a setter.
I really think that PyDict_SetDefault() is an inappropriate name. |
|
Date |
User |
Action |
Args |
2013-03-07 19:06:54 | scoder | set | recipients:
+ scoder, rhettinger, benjamin.peterson |
2013-03-07 19:06:54 | scoder | set | messageid: <1362683214.65.0.104405289999.issue17327@psf.upfronthosting.co.za> |
2013-03-07 19:06:54 | scoder | link | issue17327 messages |
2013-03-07 19:06:54 | scoder | create | |
|