Add credits
This commit is contained in:
parent
95d04d6a8d
commit
057b1b2978
2 changed files with 4 additions and 4 deletions
|
@ -51,6 +51,8 @@ class Iteratorize:
|
|||
"""
|
||||
Transforms a function that takes a callback
|
||||
into a lazy iterator (generator).
|
||||
|
||||
Adapted from: https://stackoverflow.com/a/9969000
|
||||
"""
|
||||
|
||||
def __init__(self, func, kwargs={}, callback=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue