MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / __grouper

Method __grouper

scripts/dump_data.py:75–77  ·  view source on GitHub ↗
(iterable, n, fillvalue=None)

Source from the content-addressed store, hash-verified

73
74 @staticmethod
75 def __grouper(iterable, n, fillvalue=None):
76 args = [iter(iterable)] * n
77 return izip_longest(fillvalue=fillvalue, *args)
78
79 def write(self, miner_name, container_name, container_data):
80 # Create folder structure to path, if not created yet

Callers 1

writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected