(self, obj)
| 963 | return |
| 964 | |
| 965 | def save_dict(self, obj): |
| 966 | if self.bin: |
| 967 | self.write(EMPTY_DICT) |
| 968 | else: # proto 0 -- can't use EMPTY_DICT |
| 969 | self.write(MARK + DICT) |
| 970 | |
| 971 | self.memoize(obj) |
| 972 | self._batch_setitems(obj.items()) |
| 973 | |
| 974 | dispatch[dict] = save_dict |
| 975 | if PyStringMap is not None: |
nothing calls this directly
no test coverage detected