(self, obj)
| 1071 | start += batch_len |
| 1072 | |
| 1073 | def save_dict(self, obj): |
| 1074 | if self.bin: |
| 1075 | self.write(EMPTY_DICT) |
| 1076 | else: # proto 0 -- can't use EMPTY_DICT |
| 1077 | self.write(MARK + DICT) |
| 1078 | |
| 1079 | self.memoize(obj) |
| 1080 | self._batch_setitems(obj.items(), obj) |
| 1081 | |
| 1082 | dispatch[dict] = save_dict |
| 1083 |
nothing calls this directly
no test coverage detected