Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for replace_multiline_code_block (0.1 seconds)

  1. scripts/doc_parsing_utils.py

        if match:
            code = match.group("code").rstrip()
            comment = match.group("comment")
            return code, comment
        return line, None
    
    
    def replace_multiline_code_block(
        block_a: MultilineCodeBlockInfo, block_b: MultilineCodeBlockInfo
    ) -> list[str]:
        """
        Replace multiline code block `a` with block `b` leaving comments intact.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top