(self, obj)
| 1055 | start += batch_len |
| 1056 | |
| 1057 | def save_dict(self, obj): |
| 1058 | if self.bin: |
| 1059 | self.write(EMPTY_DICT) |
| 1060 | else: # proto 0 -- can't use EMPTY_DICT |
| 1061 | self.write(MARK + DICT) |
| 1062 | |
| 1063 | self.memoize(obj) |
| 1064 | self._batch_setitems(obj.items(), obj) |
| 1065 | |
| 1066 | dispatch[dict] = save_dict |
| 1067 |
nothing calls this directly
no test coverage detected