Method
__init__
(self, filenames, proc_id=None, proc_count=None, custom=None)
Source from the content-addressed store, hash-verified
| 25 | """ |
| 26 | |
| 27 | def __init__(self, filenames, proc_id=None, proc_count=None, custom=None): |
| 28 | self.filenames = [filenames] if isinstance(filenames, six.string_types) else filenames |
| 29 | self.fp = None |
| 30 | self.index = 0 |
| 31 | self.counter = -1 |
| 32 | self.current = None |
| 33 | self.iter = None |
| 34 | self.custom = custom or [] |
| 35 | self.proc_id = proc_id |
| 36 | self.proc_count = proc_count |
| 37 | self.adjust() |
| 38 | |
| 39 | def __iter__(self): |
| 40 | return self |
Callers
nothing calls this directly
Tested by
no test coverage detected