(self)
| 1238 | else: |
| 1239 | self.counter[name] += 1 |
| 1240 | def done (self): |
| 1241 | t = (time.time() - self.timestamp) |
| 1242 | keys = list(self.counter.keys()) |
| 1243 | keys.sort() |
| 1244 | for key in keys: |
| 1245 | print('[%s] -> %d'%(key, self.counter[key])) |
| 1246 | print('[Finished in %d seconds (%d)]'%(t, self.count)) |
| 1247 | return ProgressIndicator(total) |
| 1248 | |
| 1249 | # 返回词典里所有词的 map,默认转为小写 |
no outgoing calls
no test coverage detected