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

Function _get_after_directive

fire/docstrings.py:696–702  ·  view source on GitHub ↗

Gets the remainder of the line, after a directive.

(line_info)

Source from the content-addressed store, hash-verified

694
695
696def _get_after_directive(line_info):
697 """Gets the remainder of the line, after a directive."""
698 sections = line_info.stripped.split(':', 2)
699 if len(sections) > 2:
700 return sections[-1]
701 else:
702 return ''
703
704
705def _rst_section(line_info):

Callers 1

_update_section_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected