def batch_size(self, batch_size):
        if not isinstance(batch_size, (int, long)):
            raise TypeError("batch_size must be an integer")
        if batch_size < 0:
            raise ValueError("batch_size must be >= 0")

        self.__batch_size = batch_size == 1 and 2 or batch_size
        return self
Sequential expansion of the count to be combinatorics.
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/command_cursor.py/CommandCursor.batch_size--crossover with--dataset/ETHPy150Open girishramnani/hacking-tools/pyhashcat/sre_yield/__init__.py/RegexMembershipSequence.max_repeat_values