Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ isCommentLine
Function
isCommentLine
numpy/linalg/lapack_lite/clapack_scrub.py:158–159 ·
view source on GitHub ↗
(line)
Source
from the content-addressed store, hash-verified
156
lines = LineQueue()
157
comments = CommentQueue()
158
def
isCommentLine(line):
159
return
line.startswith(
'/*'
) and line.endswith(
'*/\n'
)
160
161
blanks = LineQueue()
162
def
isBlank(line):
Callers
3
SourceLines
Function · 0.85
HaveCommentLines
Function · 0.85
HaveBlankLines
Function · 0.85
Calls
2
startswith
Method · 0.80
endswith
Method · 0.80
Tested by
no test coverage detected