INNER CODE UNIT · Python

_write_kt_file_footer

Kotlin/kandy · util/kandy-samples-utils/nb_to_doc.py:604

def _write_kt_file_footer(file) -> None:
    """
    Write the footer of the Kotlin file.

    Args:
        file: File object to write to
    """
    _write_line(file, "}")


def _write_line(file, line: str, indent: int = 0) -> None:
    """
    Write a line to a file with the specified indentation.

    Args:
        file: File object to write to
        line: Line to write
        indent: Number of spaces to indent

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…