class_docstr: LineIterator(iterable)
  
  Return rstrip()'d lines from iterable, while keeping a count of the
  line number in the .lineno attribute.
class_docstr_tok: ["LineIterator","(","iterable",")","Return","rstrip","(",")","'d","lines","from","iterable",",","while","keeping","a","count","of","the","line","number","in","the",".lineno","attribute","."]
code: def __next__(self):
      self.lineno += 1
      line = next(self.iterable)
      line = line.rstrip()
      return line
  
file_path: catboost/contrib/python/numpy/py3/numpy/linalg/lapack_lite/fortran.py
imports: import re
  import itertools
label_desc: Use image node_id 3 for calling the LineIterator obj's underlying member method code with example usage: obj.__next__() and returns: line