obspy.io.gse2.bulletin.LinesIterator
- class LinesIterator(lines)[source]
Bases:
object
Iterator to iterate file lines and count lines. Usefull for warning messages.
Special Methods
- LinesIterator.__delattr__(name, /)
Implement delattr(self, name).
- LinesIterator.__dir__()
Default dir() implementation.
- LinesIterator.__eq__(value, /)
Return self==value.
- LinesIterator.__format__(format_spec, /)
Default object formatter.
- LinesIterator.__ge__(value, /)
Return self>=value.
- LinesIterator.__getattribute__(name, /)
Return getattr(self, name).
- LinesIterator.__gt__(value, /)
Return self>value.
- LinesIterator.__hash__()
Return hash(self).
- LinesIterator.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- LinesIterator.__le__(value, /)
Return self<=value.
- LinesIterator.__lt__(value, /)
Return self<value.
- LinesIterator.__ne__(value, /)
Return self!=value.
- LinesIterator.__new__(**kwargs)
- LinesIterator.__reduce__()
Helper for pickle.
- LinesIterator.__reduce_ex__(protocol, /)
Helper for pickle.
- LinesIterator.__repr__()
Return repr(self).
- LinesIterator.__setattr__(name, value, /)
Implement setattr(self, name, value).
- LinesIterator.__sizeof__()
Size of object in memory, in bytes.
- LinesIterator.__str__()
Return str(self).
- LinesIterator.__subclasshook__()
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).