Skip to content

Module modern_python_package.core

Core functionality used throughout the package.

??? example "View Source" """

    Core functionality used throughout the package.

    """



    import logging

    log = logging.getLogger(__name__)



    def inner_method(string: str, integer: int) -> str:

        """

        This method duplicates a string the specified number of times.

        """

        rv = string * integer

        log.info("Generated string %s", rv)

        return rv

Variables

log

Functions

inner_method

def inner_method(
    string: str,
    integer: int
) -> str

This method duplicates a string the specified number of times.

??? example "View Source" def inner_method(string: str, integer: int) -> str:

        """

        This method duplicates a string the specified number of times.

        """

        rv = string * integer

        log.info("Generated string %s", rv)

        return rv