MCPcopy Index your code
hub / github.com/google/python-fire / _line_is_hyphens

Function _line_is_hyphens

fire/docstrings.py:724–726  ·  view source on GitHub ↗

Returns whether the line is entirely hyphens (and not blank).

(line)

Source from the content-addressed store, hash-verified

722
723
724def _line_is_hyphens(line):
725 """Returns whether the line is entirely hyphens (and not blank)."""
726 return line and not line.strip('-')
727
728
729def _numpy_section(line_info):

Callers 2

_consume_lineFunction · 0.85
_numpy_sectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected