padnone¶
-
sknano.core.
padnone
(iterable)[source] [edit on github][source]¶ Returns the sequence elements and then returns None indefinitely.
Examples
>>> from sknano.core import padnone >>> take(5, padnone(range(3))) [0, 1, 2, None, None]
sknano.core.
padnone
(iterable)[source] [edit on github][source]¶Returns the sequence elements and then returns None indefinitely.
Examples
>>> from sknano.core import padnone
>>> take(5, padnone(range(3)))
[0, 1, 2, None, None]