_split_slashes_comment() — fastapi Function Reference
Architecture documentation for the _split_slashes_comment() function in doc_parsing_utils.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 690d336c_b2dd_dd3c_12b2_25cb48e58f54["_split_slashes_comment()"] c463d6a9_085f_f272_b9fc_455b7e9b6a57["doc_parsing_utils.py"] 690d336c_b2dd_dd3c_12b2_25cb48e58f54 -->|defined in| c463d6a9_085f_f272_b9fc_455b7e9b6a57 49a5cb30_408f_f3be_8707_68a8c1644c3d["replace_multiline_code_block()"] 49a5cb30_408f_f3be_8707_68a8c1644c3d -->|calls| 690d336c_b2dd_dd3c_12b2_25cb48e58f54 style 690d336c_b2dd_dd3c_12b2_25cb48e58f54 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/doc_parsing_utils.py lines 561–567
def _split_slashes_comment(line: str) -> tuple[str, Union[str, None]]:
match = SLASHES_COMMENT_RE.match(line)
if match:
code = match.group("code").rstrip()
comment = match.group("comment")
return code, comment
return line, None
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does _split_slashes_comment() do?
_split_slashes_comment() is a function in the fastapi codebase, defined in scripts/doc_parsing_utils.py.
Where is _split_slashes_comment() defined?
_split_slashes_comment() is defined in scripts/doc_parsing_utils.py at line 561.
What calls _split_slashes_comment()?
_split_slashes_comment() is called by 1 function(s): replace_multiline_code_block.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free