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

Method __init__

recipes/Python/578138_gprof2dotpy/recipe-578138.py:628–633  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

626 """Base class for parsers that read line-based formats."""
627
628 def __init__(self, file):
629 Parser.__init__(self)
630 self._file = file
631 self.__line = None
632 self.__eof = False
633 self.line_no = 0
634
635 def readline(self):
636 line = self._file.readline()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected