Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 288 Bytes

File metadata and controls

13 lines (8 loc) · 288 Bytes

itertools

Backport of the itertools module for Jython 2.1.

This module was first introduced into the Python standard library in version 2.3.

Usage

from polyfills import itertools

print(itertools.batched("Hello World", 3)) # Output: ['Hel', 'lo ', 'Wor', 'ld']