MCPcopy Create free account
hub / github.com/Distrotech/reportlab / parseFile

Method parseFile

tools/docco/yaml.py:63–71  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

61 self._mode = PLAIN
62
63 def parseFile(self, filename):
64 #returns list of objects
65 data = open(filename, 'r').readlines()
66
67 for line in data:
68 #strip trailing newlines
69 self.readLine(line[:-1])
70 self.endPara()
71 return self._results
72
73 def readLine(self, line):
74 #this is the inner loop

Callers 3

runFunction · 0.95
parseFileFunction · 0.95
yaml.pyFile · 0.45

Calls 2

readLineMethod · 0.95
endParaMethod · 0.95

Tested by

no test coverage detected