MCPcopy Create free account
hub / github.com/ActiveState/code / readline

Method readline

recipes/Python/578138_gprof2dotpy/recipe-578138.py:635–642  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

633 self.line_no = 0
634
635 def readline(self):
636 line = self._file.readline()
637 if not line:
638 self.__line = ''
639 self.__eof = True
640 else:
641 self.line_no += 1
642 self.__line = line.rstrip('\r\n')
643
644 def lookahead(self):
645 assert self.__line is not None

Callers 15

consumeMethod · 0.95
tailFunction · 0.45
processMethod · 0.45
load_board_from_fileFunction · 0.45
readlineMethod · 0.45
parseMethod · 0.45
readlineMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
recipe-578474.pyFile · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected