Message388338
The comment is outdated. Shelf objects also do not support methods copy and fromkey. Creating a new Shelve object without specifying a new underlying database object does not make much sense.
Maybe say that they implement the MutableMapping interface?
>>> sorted(set(dir(dict)) - set(dir(shelve.Shelf)))
['__ior__', '__or__', '__ror__', 'copy', 'fromkeys']
>>> sorted(set(dir(collections.abc.MutableMapping)) - set(dir(shelve.Shelf)))
[] |
|
Date |
User |
Action |
Args |
2021-03-09 09:49:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, Dominik V. |
2021-03-09 09:49:39 | serhiy.storchaka | set | messageid: <1615283379.15.0.190346926309.issue43443@roundup.psfhosted.org> |
2021-03-09 09:49:39 | serhiy.storchaka | link | issue43443 messages |
2021-03-09 09:49:38 | serhiy.storchaka | create | |
|