MCPcopy Create free account
hub / github.com/numpy/numpy / HaveCommentLines

Function HaveCommentLines

numpy/linalg/lapack_lite/clapack_scrub.py:172–182  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

170 lines.add(line)
171 return SourceLines
172 def HaveCommentLines(line):
173 if isBlank(line):
174 blanks.add('\n')
175 return HaveBlankLines
176 elif isCommentLine(line):
177 comments.add(line)
178 return HaveCommentLines
179 else:
180 comments.flushTo(lines)
181 lines.add(line)
182 return SourceLines
183 def HaveBlankLines(line):
184 if isBlank(line):
185 blanks.add('\n')

Callers

nothing calls this directly

Calls 4

isCommentLineFunction · 0.85
isBlankFunction · 0.70
addMethod · 0.45
flushToMethod · 0.45

Tested by

no test coverage detected