def __init__(self, iterable):
self._iterable = iter(iterable)<EOL>try:<EOL><INDENT>self._head = self._iterable.next()<EOL><DEDENT>except StopIteration:<EOL><INDENT>self._head = None<EOL><DEDENT>
Constructor for peekableIter; see class docstring for param details.