stouputils.print.common module#

class PrintMemory[source]#

Bases: object

Class to store shared variables for print functions.

previous_args_kwards: tuple[Any, Any] = ((), {})[source]#

Store the previous print call’s args and kwargs for comparison in is_same_print()

nb_values: int = 1[source]#

Count how many times the same value has been printed in a row for is_same_print()

import_time: float = 1780513961.217094[source]#

Store the import time to determine how to format timestamps in current_time()